CVE-2024-2912 json
Insecure Deserialization Leading to RCE in bentoml/bentoml
published 2024-04-16 2 y ago modified 2026-10-27 12 d ago also GHSA-hvj5-mvw9-93j3 , PYSEC-2026-296 , EUVD-2024-1219
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.51% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | bentoml | <1.2.5 |
1.2.5 |
Affected products
- bentoml bentoml/bentoml
- bentoml bentoml
Classification
- Weakness
-
- CWE-1188 Initialization of a Resource with an Insecure Default
References
-
github.com
/bentoml/bentoml/commit/fd70379733c57c6368cc022ac1f841b7b426db7b
web
-
huntr.com
/bounties/349a1cce-6bb5-4345-82a5-bf7041b65a68
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-2912
advisory
-
github.com
/bentoml/BentoML
package
-
github.com
/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-296.yaml
web
-
pypi.org
/project/bentoml
web, package
-
github.com
/advisories/GHSA-hvj5-mvw9-93j3
advisory
Sources
- CVE List CVE-2024-2912
- GitHub Advisory GHSA-hvj5-mvw9-93j3
- NVD CVE-2024-2912
- OSV PYSEC-2026-296
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.