{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-2912","id":"CVE-2024-2912","title":"Insecure Deserialization Leading to RCE in bentoml/bentoml","description":"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 ","descriptionLong":"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","updated":"2026-11-11T10:31:03.422436198Z","reserved":"2024-03-26T14:04:26.687Z","status":"Deferred","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"@huntr_ai"},"metrics":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"@huntr_ai"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"huntr.dev"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["bentoml/bentoml"],"affectedProducts":[{"vendor":"bentoml","product":"bentoml/bentoml","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"1.2.4","status":"affected","version":"1.2.0","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"bentoml","purl":"pkg:pypi/bentoml","ranges":["<1.2.5"],"fixed":["1.2.5"],"advisory":"GHSA-hvj5-mvw9-93j3"}],"cwes":["CWE-1188"],"aliases":["GHSA-hvj5-mvw9-93j3","PYSEC-2026-296"],"references":[{"url":"https://huntr.com/bounties/349a1cce-6bb5-4345-82a5-bf7041b65a68","tags":["x_transferred","web"]},{"url":"https://github.com/bentoml/bentoml/commit/fd70379733c57c6368cc022ac1f841b7b426db7b","tags":["x_transferred","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2912.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2912","tags":["advisory"]},{"url":"https://github.com/bentoml/BentoML","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-296.yaml","tags":["web"]},{"url":"https://pypi.org/project/bentoml","tags":["web","package"]},{"url":"https://github.com/advisories/GHSA-hvj5-mvw9-93j3","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.01509,"epssPercentile":0.74943,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-2912","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2912","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-2912","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hvj5-mvw9-93j3","ok":true,"note":"GHSA-hvj5-mvw9-93j3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-2912","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}