What’s Vulnerable › Vulnerabilities
CVE-2024-2912: Insecure Deserialization Leading to RCE in bentoml/bentoml
- Severity: critical (CVSS 10.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-16 · updated 2026-06-17
- Weakness: CWE-1188
Description
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.
Affected products
- BentoML: from 1.2.0 through 1.2.4
References
- https://github.com/bentoml/bentoml/commit/fd70379733c57c6368cc022ac1f841b7b426db7b
- https://huntr.com/bounties/349a1cce-6bb5-4345-82a5-bf7041b65a68
- https://github.com/bentoml/bentoml/commit/fd70379733c57c6368cc022ac1f841b7b426db7b
- https://huntr.com/bounties/349a1cce-6bb5-4345-82a5-bf7041b65a68
Get alerted when CVE-2024-2912 or the next vulnerability affects your stack