Insecure deserialization in BentoML
Critical9.8CVE-2024-2912 · Published Apr 16, 2024 · updated Jun 29, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| bentoml PyPI | < 1.2.5 | 1.2.5 |
Details and references
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.
- CVSS 3.0
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-1188
- Also known as
- CVE-2024-2912, PYSEC-2026-296
More BentoML advisories
All BentoML| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Mar 202025 | BentoML Open Redirect vulnerability GHSA-564p-rx2q-4c8vMedium6.1no fix yet | Medium6.1 | No fix yet |
| Mar 202025 | BentoML vulnerable to Uncontrolled Resource Consumption GHSA-hh3j-9m59-p8vcHigh7.5no fix yet | High7.5 | No fix yet |
| Mar 202025 | BentoML deserialization vulnerability CVE-2024-9070Critical9.8no fix yet | Critical9.8 | No fix yet |
| Mar 202025 | BentoML Denial of Service (DoS) via Multipart Boundary CVE-2024-9056High7.5no fix yet | High7.5 | No fix yet |
| Apr 42025 | BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization CVE-2025-27520Critical9.8fixed in 1.4.3 | Critical9.8 | 1.4.3 |
| Apr 92025 | BentoML's runner server Vulnerable to Remote Code Execution (RCE) via Insecure Deserialization CVE-2025-32375Critical9.8fixed in 1.4.8 | Critical9.8 | 1.4.8 |