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.19.6 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS0.39% probability of exploitation · percentile 30.8% · 2026-06-18T12:00:27Z
Published2026-04-06
Last modified2026-04-10

Underlying weaknesses· 1

CWE-1336

References

  1. https://github.com/bentoml/BentoML/security/advisories/GHSA-v959-cwq9-7hr6

1

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Special Elements Used in a Template Enginecwe-13360%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-44345
CVE
CVE-2026-44346
CVE
CVE-2025-32375
CVE
CVE-2025-27520
CVE
CVE-2025-54381
CVE
CVE-2026-25526
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.