{"id":"CVE-2026-35043","state":"PUBLISHED","title":"BentoML: command injection in cloud deployment setup script (deployment.py)","description":"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.","publishedAt":"2026-04-06T17:10:24.466Z","updatedAt":"2026-04-07T14:09:07.570Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["bentoml BentoML"],"affected":[{"vendor":"bentoml","product":"BentoML","versions":[{"version":"< 1.4.38","status":"affected"}]}],"references":["https://github.com/bentoml/BentoML/security/advisories/GHSA-fgv4-6jr3-jgfw"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/35xxx/CVE-2026-35043.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-35043","state":"PUBLISHED","datePublished":"2026-04-06T17:10:24.466Z","dateUpdated":"2026-04-07T14:09:07.570Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-31T21:06:06.428Z"},"containers":{"cna":{"title":"BentoML: command injection in cloud deployment setup script (deployment.py)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"bentoml","product":"BentoML","versions":[{"version":"< 1.4.38","status":"affected"}]}],"references":[{"url":"https://github.com/bentoml/BentoML/security/advisories/GHSA-fgv4-6jr3-jgfw","name":"https://github.com/bentoml/BentoML/security/advisories/GHSA-fgv4-6jr3-jgfw","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-06T17:10:24.466Z"},"source":{"advisory":"GHSA-fgv4-6jr3-jgfw","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/bentoml/BentoML/security/advisories/GHSA-fgv4-6jr3-jgfw","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-07T14:09:04.043559Z","id":"CVE-2026-35043","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-07T14:09:07.570Z"}}]}}}