- Home
- Vulnerabilities
- CVE-2026-35044
CVE-2026-35044
BentoML is a Python library for building online serving systems optimized for AI apps and model inference…
Summary
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.38, the Dockerfile generation function generate_containerfile() in src/bentoml/_internal/container/generate.py uses an unsandboxed jinja2.Environment with the jinja2.ext.do extension to render user-provided dockerfile_template files. When a victim imports a malicious bento archive and runs bentoml containerize, attacker-controlled Jinja2 template code executes arbitrary Python directly on the host machine, bypassing all container isolation. This vulnerability is fixed in 1.4.38.
Affected products and versions
Bentoml (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Bentoml | before 1.4.38 (excluded) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
References
- https://github.com/bentoml/BentoML/security/advisories/GHSA-v959-cwq9-7hr6Exploit, Vendor Advisory
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- NVD
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H(CVSS 3.1, NVD)- Weakness
- CWE-1336 · Autre (CWE-1336)