cvedb.io
CVE-2026-35044
HIGH · CVSS 8.8
EPSS exploitation probability: 0%
Published 2026-04-06T18:16:41.990 · Last modified 2026-06-17T10:40:01.063

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

bentoml — bentoml

Does this affect you?

Add your gear to cvedb and we'll alert you only when bentoml ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.