CVE-2026-35043
BentoML is a Python library for building online serving systems …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/bentoml/BentoML/security/advisories/GHSA-fgv4-6jr3-jgfw
- nvd.nist.gov/vuln/detail/CVE-2026-33744
- github.com/advisories/GHSA-fgv4-6jr3-jgfw
- nvd.nist.gov/vuln/detail/CVE-2026-35043
- github.com/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-158.yaml
- nvd.nist.gov/vuln/detail/CVE-2026-35043
- cve.org/CVERecord?id=CVE-2026-35043
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.