CVE-2026-35044Bentoml · Bentoml
Vulnerability data via NVD (ingested)
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.
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
vuln:CVE-2026-35044product:"Bentoml Bentoml"http.html:"Bentoml"More intel sources (5)
vuln:CVE-2026-35044vulnerabilities.cve_id: CVE-2026-35044CVE-2026-35044CVE-2026-35044"CVE-2026-35044" exploit -site:nvd.nist.gov