{"data":{"id":"86acd869-57a4-4b47-9919-0ecb2f365eb6","title":"GHSA-fgv4-6jr3-jgfw: BentoML: Command Injection in cloud deployment setup script","summary":"BentoML's commit ce53491 added shlex.quote to fix command injection via system_packages in Dockerfile templates and images.py, but the cloud deployment path in src/bentoml/_internal/cloud/deployment.py was left out. Line 1648 of that file joins system_packages values from bentofile.yaml into an apt-get install shell command with an f-string and no quoting. The generated setup.sh is uploaded to BentoCloud and run on the cloud build infrastructure, so a malicious bentofile.yaml can execute arbitrary commands there during deployment, including during Deployment.watch() dev-mode deployments.","solution":"Fixed in commit ce53491 for the Dockerfile templates and images.py paths only. The cloud deployment path in src/bentoml/_internal/cloud/deployment.py, line 1648, remained unfixed in the source text. N/A -- no mitigation discussed in source. for that path.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-fgv4-6jr3-jgfw","publishedAt":"2026-04-03T22:03:22.000Z","cveId":"CVE-2026-35043","cweIds":null,"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["supply_chain"],"issueType":"vulnerability","affectedPackages":["bentoml@<= 1.4.37 (fixed: 1.4.38)"],"affectedPackageNames":["bentoml"],"affectedPackageRefs":["pypi:bentoml"],"affectedVendors":[],"affectedVendorsRaw":["BentoML","BentoCloud"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00321,"epssCheckedAt":"2026-11-21T00:11:46.894Z","kevDateAdded":null,"advisoryAliases":["GHSA-fgv4-6jr3-jgfw"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-04-03T22:03:22.000Z","fixReleasedAt":"2026-04-02T06:12:56.328Z","daysToFix":-1,"fixCheckedAt":"2026-10-29T21:38:47.122Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity"],"aiComponentTargeted":"inference","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":["AML.T0010"],"fixes":[{"ecosystem":"pypi","name":"bentoml","fixedVersion":"1.4.38","matchedVersion":"1.4.38","fixReleasedAt":"2026-04-02T06:12:56.328Z","daysToFix":-1,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:38:46.976Z"}]}}