Insecure deserialization in BentoML
CVE-2024-2912 · GHSA-hvj5-mvw9-93j3 · published 2024-04-16 · updated 2026-10-27
- Severity
- Critical
- CVSS score
- 9.8
- Chance of exploitation (EPSS)
- 1.5%
- Fixed in
- 1.2.5
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Total
- CISA SSVC
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.
Upgrade bentoml to 1.2.5 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| bentoml | PyPI | < 1.2.5 | 1.2.5 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8n, n8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalJupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routesjupyter-mcp-server
- Criticalmem0ai Databricks vector store vulnerable to SQL injectionmem0ai
- CriticalBentoML SSRF Vulnerability in File Upload Processingbentoml
- CriticalBentoML's runner server Vulnerable to Remote Code Execution (RCE) via Insecure Deserializationbentoml
- CriticalBentoML Allows Remote Code Execution (RCE) via Insecure Deserializationbentoml
- CriticalBentoML deserialization vulnerabilitybentoml
- HighBentoML Dockerfile command injection via docker.base_image (sister of pending GHSA-w2pm-x38x-jp44 / CVE-2026-33744 / CVE-2026-35043)bentoml
- HighDockerfile command injection via envs[*].name in bentofile.yaml (sibling fix-bypass of CVE-2026-33744 and CVE-2026-35043)bentoml
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.