{"id":"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.","aliases":["GHSA-hvj5-mvw9-93j3","PYSEC-2026-296"],"modified":"2026-08-12T03:51:21.616443324Z","published":"2024-04-16T00:00:15.110Z","database_specific":{"cna_assigner":"@huntr_ai","cwe_ids":["CWE-1188"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2912.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bentoml/bentoml","events":[{"introduced":"9169155d72dd4e35b5b699e0d89cb0b146e825e3"},{"fixed":"fd70379733c57c6368cc022ac1f841b7b426db7b"}],"database_specific":{"extracted_events":[{"introduced":"1.2.0"},{"last_affected":"1.2.4"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v1.2.4","v1.2.3","v1.2.2","v1.2.1a1","v1.2.1","v1.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-2912.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}