Arbitrary Code Execution Vulnerability in BentoML by Pivotal Software
CVE-2026-35044
8.8HIGH
What is CVE-2026-35044?
BentoML, a Python library designed for building optimized serving systems for AI applications, contains a significant vulnerability in its Dockerfile generation process. Prior to version 1.4.38, the function responsible for generating container files utilized an unsandboxed Jinja2 environment, allowing for the execution of arbitrary Python code when processing malicious user-provided templates. This flaw can enable an attacker to execute harmful commands directly on the host machine, circumventing all existing container isolation measures. The issue has been addressed in the latest release.
Affected Version(s)
BentoML < 1.4.38
