CVE-2024-2912
CRITICAL 10.0CVSS 3.1Insecure deserialization in BentoML
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.
- Published
- 16 Apr 2024
- Last modified
- 27 Oct 2026
- Assigned by
- security@huntr.dev
- NVD status
- Deferred
- Weakness
- CWE-1188
- Also known as
- GHSA-hvj5-mvw9-93j3PYSEC-2026-296
- Sources
- NVDJSONOSV GHSA-hvj5-mvw9-93j3JSONOSV PYSEC-2026-296JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | bentoml | < 1.2.5 | 1.2.5 |
References
- https://github.com/bentoml/bentoml/commit/fd70379733c57c6368cc022ac1f841b7b426db7b · WEB
- https://huntr.com/bounties/349a1cce-6bb5-4345-82a5-bf7041b65a68 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-2912 · ADVISORY
- https://github.com/bentoml/BentoML · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-296.yaml · WEB
- https://pypi.org/project/bentoml · WEB, PACKAGE
- https://github.com/advisories/GHSA-hvj5-mvw9-93j3 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 16 Apr 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Apr 2024)