{"id":"CVE-2024-2912","aliases":["GHSA-hvj5-mvw9-93j3","PYSEC-2026-296"],"url":"https://o3.security/vulnerability/CVE-2024-2912","summary":"Insecure Deserialization Leading to RCE in bentoml/bentoml","details":"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":"2024-04-16T00:00:15.110Z","modified":"2026-08-12T03:51:21.616443324Z","cvss":{"score":10,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"bentoml","fixedVersion":"1.2.5"}],"fix":{"url":"https://github.com/bentoml/bentoml/commit/fd70379733c57c6368cc022ac1f841b7b426db7b","label":"bentoml/bentoml@fd70379"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/349a1cce-6bb5-4345-82a5-bf7041b65a68"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2912.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2912"},{"type":"FIX","url":"https://github.com/bentoml/bentoml/commit/fd70379733c57c6368cc022ac1f841b7b426db7b"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:21.616443324Z"}}