Advisory

PYSEC-2025-32

Also known as: CVE-2025-32375, GHSA-7v4r-c989-xh26

Summary

The record has no summary.

Details

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.8, there was an insecure deserialization in BentoML's runner server. By setting specific headers and parameters in the POST request, it is possible to execute any unauthorized arbitrary code on the server, which will grant the attackers to have the initial access and information disclosure on the server. This vulnerability is fixed in 1.4.8.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2025-04-09 16:15 UTC
Modified
2026-06-10 17:14 UTC

Affected packages and fixes

bentoml

PyPI · All systems

Affected

  • introduced 1.0.0, fixed 1.4.8 (ecosystem)

Fixed versions

1.4.8

Fix

  • Fixed version 1.4.8
    pip install --upgrade bentoml==1.4.8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences