{"id":"CVE-2026-35043","published":"2026-04-06T17:10:24Z","modified":"2026-04-07T14:09:07Z","title":"BentoML: command injection in cloud deployment setup script (deployment.py)","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.38, the cloud deployment path in src/bentoml/_internal/cloud/deployment.py was not included in the fix for CVE-2026-33744. Line 1648 interpolates system_packages directly into a shell command using an f-string without any quoting. The generated script is uploaded to BentoCloud as setup.sh and executed on the cloud build infrastructure during deployment, making this a remote code execution on the CI/CD tier. This vulnerability is fixed in 1.4.38.","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.00277,"percentile":0.12836,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/bentoml/BentoML/security/advisories/GHSA-fgv4-6jr3-jgfw","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":2.57},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"bentoml","affectedVersions":[{"vendor":"bentoml","product":"BentoML","versions":["< 1.4.38"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-07T14:09:04.043559Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"bentoml","vulnerableRanges":["<1.4.38"],"patched":["1.4.38"],"from":["GHSA-fgv4-6jr3-jgfw","PYSEC-2026-158"],"provenance":"source"}],"summary":{"text":"BentoML's cloud deployment setup script generator (src/bentoml/_internal/cloud/deployment.py) interpolates the system_packages value unquoted into a shell command, allowing OS command injection in the setup.sh file it produces for BentoCloud. An attacker who can influence the system_packages input and get a user to trigger a deployment (user interaction required, no authentication) could execute arbitrary commands on BentoCloud's build infrastructure.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:28Z"},"euvd":{"id":"EUVD-2026-19384","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-bentoml-cve-2026-33744","parents":[{"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-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},{"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},{"cve":"CVE-2026-40610","published":"2026-05-22","fixed":"1.4.39","kev":false,"link":{"from":"CVE-2026-35043","to":"CVE-2026-40610","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:bentoml","fromFixed":"1.4.38","toFixed":"1.4.39","daysApart":46}]}},{"cve":"CVE-2026-44345","published":"2026-05-27","fixed":"1.4.39","kev":false,"link":{"from":"CVE-2026-35043","to":"CVE-2026-44345","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:bentoml","fromFixed":"1.4.38","toFixed":"1.4.39","daysApart":51}]}},{"cve":"CVE-2026-44346","published":"2026-05-27","fixed":"1.4.39","kev":false,"link":{"from":"CVE-2026-35043","to":"CVE-2026-44346","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:bentoml","fromFixed":"1.4.38","toFixed":"1.4.39","daysApart":51}]}}],"package":"PyPI:bentoml"}}