CVE-2024-2912: BentoML · Insecure Deserialization
Affects bentomlSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical : upgrade to 1.2.5 as a priority.
Data as of 27 Oct 2026, 17:11 UTC
- EPSS
- 1.5% chance of exploitation in 30 days – higher than 74% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.2.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade bentoml to 1.2.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIbentoml | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- nvd.nist.gov/vuln/detail/CVE-2024-2912 (opens in a new tab)
- github.com/bentoml/bentoml/commit/fd70379733c57c6368cc022ac1f841b7b426db7b (opens in a new tab)
- github.com/bentoml/BentoML (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-296.yaml (opens in a new tab)
- huntr.com/bounties/349a1cce-6bb5-4345-82a5-bf7041b65a68 (opens in a new tab)
- pypi.org/project/bentoml (opens in a new tab)