CVE-2026-35044CRITICAL 9.6EPSS p30.8%
CVE-2026-35044CVE-2026-35044
Description
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.
Scoring
| CVSS 3.1 | 9.6 (CRITICAL) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| EPSS | 0.39% probability of exploitation · percentile 30.8% · 2026-06-18T12:00:27Z |
| Published | 2026-04-06 |
| Last modified | 2026-04-10 |
Underlying weaknesses· 1
References
1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Improper Neutralization of Special Elements Used in a Template Enginecwe-1336 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.