← Vulnerability feed

Vulnerability record · CVE-2026-35044 · published 6 April 2026

CVE-2026-35044: Bentoml vulnerability

Bentoml · Bentoml

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.

9.6 CVSS 3.1 Critical EPSS 0.48% · top 61.1% CWE-1336 · CWE-1336
9.6CVSS 3.1 base score
0.48%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
1References, 1 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-35044 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.9CVE-2025-54381Bentoml server-side request forgery (ssrf) vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. In versions 1.4.0 until 1.4.19, the file u…EPSS 15%9.8CVE-2025-32375BentoML runner server insecure deserialization enables unauthenticated RCEBentoML before 1.4.8 deserializes untrusted data in its runner server. By sending a crafted POST request with specific headers and parameters, an att…EPSS 52%analysed9.8CVE-2025-27520Bentoml deserialization of untrusted data vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. A Remote Code Execution (RCE) vulnerabilit…EPSS 41%8.8CVE-2026-44345Bentoml os command injection vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.39, src/bentoml/_internal/con…EPSS 0.48%8.8CVE-2026-44346Bentoml os command injection vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.39, a malicious bentofile.yam…EPSS 0.48%8.6CVE-2026-27905Bentoml link following vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.36, the safe_extract_tarfile(…EPSS 0.21%7.8CVE-2026-35043Bentoml os command injection vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.38, the cloud deployment path…EPSS 0.26%7.8CVE-2026-33744Bentoml code injection vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.37, the `docker.system_packag…EPSS 0.25%

Source: NIST National Vulnerability Database (record CVE-2026-35044), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.