{"id":"CVE-2026-33744","published":"2026-03-27T00:45:08Z","modified":"2026-03-27T20:01:40Z","title":"BentoML has Dockerfile Command Injection via system_packages in bentofile.yaml","vendor":"bentoml","product":"BentoML","tier":"tail","description":{"text":"BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.37, the `docker.system_packages` field in `bentofile.yaml` accepts arbitrary strings that are interpolated directly into Dockerfile `RUN` commands without sanitization. Since `system_packages` is semantically a list of OS package names (data), users do not expect values to be interpreted as shell commands. A malicious `bentofile.yaml` achieves arbitrary command execution during `bentoml containerize` / `docker build`. Version 1.4.37 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0029,"percentile":0.21916,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/bentoml/BentoML/security/advisories/GHSA-jfjg-vc52-wqvf","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":4.38},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"bentoml","affectedVersions":[{"vendor":"bentoml","product":"BentoML","versions":["< 1.4.37"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-27T20:01:10.256531Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"bentoml","vulnerableRanges":["<1.4.37"],"patched":["1.4.37"],"from":["GHSA-jfjg-vc52-wqvf","PYSEC-2026-157"],"provenance":"source"}],"summary":{"text":"The flaw is a code injection weakness in BentoML, a Python library for building model-serving systems, specifically in the docker.system_packages field of bentofile.yaml, whose unsanitized string values are interpolated directly into Dockerfile RUN commands. An attacker who can supply a malicious bentofile.yaml and get a user to run bentoml containerize or docker build on it can execute arbitrary commands, which requires local access and user interaction but no authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:22Z"},"euvd":{"id":"EUVD-2026-16513","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-bentoml-cve-2026-33744","children":[{"from":"CVE-2026-33744","to":"CVE-2026-35043","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-fgv4-6jr3-jgfw","via":"reference","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33744"},{"kind":"version-step","provenance":"source","package":"PyPI:bentoml","fromFixed":"1.4.37","toFixed":"1.4.38","daysApart":10}]}],"packageHistory":[{"cve":"CVE-2025-54381","published":"2025-07-29","fixed":"1.4.19","kev":false},{"cve":"CVE-2026-24123","published":"2026-01-26","fixed":"1.4.34","kev":false},{"cve":"CVE-2026-27905","published":"2026-03-03","fixed":"1.4.36","kev":false,"link":{"from":"CVE-2026-27905","to":"CVE-2026-33744","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:bentoml","fromFixed":"1.4.36","toFixed":"1.4.37","daysApart":24}]}},{"cve":"CVE-2026-33744","published":"2026-03-27","fixed":"1.4.37","kev":false},{"cve":"CVE-2026-35043","published":"2026-04-06","fixed":"1.4.38","kev":false},{"cve":"CVE-2026-35044","published":"2026-04-06","fixed":"1.4.38","kev":false,"link":{"from":"CVE-2026-33744","to":"CVE-2026-35044","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:bentoml","fromFixed":"1.4.37","toFixed":"1.4.38","daysApart":10}]}},{"cve":"CVE-2026-40610","published":"2026-05-22","fixed":"1.4.39","kev":false}],"package":"PyPI:bentoml"}}