{"schema":"threatline.record/2","record":{"id":"CVE-2024-2912","aliases":["GHSA-hvj5-mvw9-93j3","PYSEC-2026-296"],"summary":"Insecure deserialization in 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.","categories":["Libraries & packages"],"product":"bentoml","vendor":"bentoml","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-hvj5-mvw9-93j3","source_modified_at":"2026-10-27T15:13:54Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"ecosystem":"pip","name":"bentoml"},"range":"< 1.2.5"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2024-2912","source_modified_at":"2024-08-01T19:25:42.151Z","fetched_at":"2026-10-27T16:27:21.584480Z","product":"bentoml/bentoml","vendor":"bentoml","versions":[{"lessThanOrEqual":"1.2.4","status":"affected","version":"1.2.0","versionType":"custom"}],"defaultStatus":"unaffected"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-hvj5-mvw9-93j3","source_modified_at":"2026-10-27T15:30:04.261964825Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"name":"bentoml","ecosystem":"PyPI","purl":"pkg:pypi/bentoml"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.5","0.0.6a0","0.0.7","0.0.7.dev0","0.0.8","0.0.8.post1","0.0.9","0.1.1","0.1.2","0.10.0","0.10.1","0.11.0","0.11.dev0","0.12.0","0.12.1","0.13.0","0.13.1","0.13.2","0.2.0","0.2.1","0.2.2","0.3.0","0.3.1","0.3.3","0.3.4","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.7","0.4.8","0.4.9","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.7","0.5.8","0.6.0","0.6.1","0.6.2","0.6.3"]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-hvj5-mvw9-93j3","source_modified_at":"2026-10-27T15:13:54Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"ecosystem":"pip","name":"bentoml"},"version":"1.2.5"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-hvj5-mvw9-93j3","source_modified_at":"2026-10-27T15:30:04.261964825Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"name":"bentoml","ecosystem":"PyPI","purl":"pkg:pypi/bentoml"},"version":"1.2.5"}],"cvss":9.8,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.01509,"percentile":0.74291,"score_date":"2026-10-27"},"published_at":"2024-04-16T00:00:15.110Z","modified_at":"2026-10-27T15:30:04.261964825Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-hvj5-mvw9-93j3","fetched_at":"2026-10-27T16:27:21.584480Z","source_modified_at":"2026-10-27T15:13:54Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-2912","fetched_at":"2026-10-27T16:27:21.584480Z","source_modified_at":"2024-08-01T19:25:42.151Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-hvj5-mvw9-93j3","fetched_at":"2026-10-27T16:27:21.584480Z","source_modified_at":"2026-10-27T15:30:04.261964825Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-2912","fetched_at":"2026-10-27T16:27:21.584480Z","source_modified_at":"2026-10-27"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2912","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/bentoml/bentoml/commit/fd70379733c57c6368cc022ac1f841b7b426db7b","tags":["x_transferred"]},{"source":"CVE List","url":"https://huntr.com/bounties/349a1cce-6bb5-4345-82a5-bf7041b65a68","tags":["x_transferred"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-296.yaml","source":"GitHub Advisory Database"},{"url":"https://pypi.org/project/bentoml","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-hvj5-mvw9-93j3","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total","assessed_at":"2024-06-05T19:41:39.436852Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-27T15:30:04.261964825Z","content_hash":"04723357ca848eb4f66d82ddb37ed2e1bf1046251cb061df755a616ada253bee"}}
