CVE-2026-35043
HIGH 7.8CVSS 3.1BentoML: Command Injection in cloud deployment setup script
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.
- Published
- 6 Apr 2026
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-78
- Also known as
- GHSA-fgv4-6jr3-jgfwPYSEC-2026-158
- Sources
- NVDJSONOSV GHSA-fgv4-6jr3-jgfwJSONOSV PYSEC-2026-158JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | bentoml | bentomlcpe:2.3:a:bentoml:bentoml:*:*:*:*:*:*:*:* |
< 1.4.38 | 1.4.38 |
| OSV | PyPI | bentoml | < 1.4.38 | 1.4.38 |
References
- https://github.com/bentoml/BentoML/security/advisories/GHSA-fgv4-6jr3-jgfw · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2026-33744 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-35043 · ADVISORY
- https://github.com/bentoml/BentoML · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-158.yaml · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 6 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Apr 2026)