Insecure Deserialization Leading to RCE in bentoml/bentoml
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| bentoml | bentoml/bentoml | 1.2.0 – 1.2.4 | — | No fix listed | CNA |
| — | bentoml (PyPI) | before 1.2.5 | 1.2.5 | Patch available | GHSA-hvj5-mvw9-93j3 |
- bentoml/bentoml Vendorbentoml Affected 1.2.0 – 1.2.4 Fixed in — No fix listed CNA
- bentoml (PyPI) Vendor— Affected before 1.2.5 Fixed in 1.2.5 Patch available GHSA-hvj5-mvw9-93j3
Remediation
- Fix · GHSA-hvj5-mvw9-93j3 bentoml (PyPI) Fixed in 1.2.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-2912
- 2026-10-03 Alias added: GHSA-hvj5-mvw9-93j3
References
Other 5
More bentoml vulnerabilities
- TI-2025-34190 BentoML is Vulnerable to an SSRF Attack Through File Upload Processing CVSS 3.1CRITICAL 9.9
- TI-2025-23454 Insecure Deserialization leads to RCE in BentoML's runner server CVSS 3.1CRITICAL 9.8
- TI-2025-20352 BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization CVSS 3.1CRITICAL 9.8
- TI-2024-08420 Deserialization Vulnerability in BentoML's Runner Server in bentoml/bentoml CVSS 3.0CRITICAL 9.8
- TI-2026-27247 BentoML has a Server-Side Template Injection via unsandboxed Jinja2 Environment in Dockerfile generation CVSS 3.1CRITICAL 9.6
- TI-2026-32312 BentoML: Dockerfile command injection via envs[*].name in bentofile.yaml CVSS 3.1HIGH 8.8
Sources
- CVE-2024-2912 · CVE Program
- CVE-2024-2912 · NVD
- FIRST EPSS
- GHSA-hvj5-mvw9-93j3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences