Live threats

All CVEs / bentoml

CVE-2024-2912bentoml/bentoml

Critical 10.0 No auth needed

Priority
75
CVSS 3.1
10.0
EPSS
2.2%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Apr 16, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1188
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

What happens

An insecure deserialization vulnerability exists in the BentoML framework, allowing remote code execution (RCE) by sending a specially crafted POST request. By exploiting this vulnerability, attackers can execute arbitrary commands on the server hosting the BentoML application. The vulnerability is triggered when a serialized object, crafted to execute OS commands upon deserialization, is sent to any valid BentoML endpoint. This issue poses a significant security risk, enabling attackers to compromise the server and potentially gain unauthorized access or control.

Original NVD text.

What to do

  1. Apply the vendor's security update for bentoml/bentoml.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI bentoml < 1.2.5 1.2.5 pip install "bentoml>=1.2.5"
PyPI bentoml < 1.2.5 1.2.5 pip install "bentoml>=1.2.5"

Per OSV / GitHub Advisories (GHSA-hvj5-mvw9-93j3, PYSEC-2026-296). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.