PT-2026-39663 · Pypi · Bentoml

·

CVE-2026-44345

·

Published

2026-05-11

·

Updated

2026-06-02

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions BentoML versions prior to 1.4.39
Description BentoML is a Python library used for building online serving systems optimized for AI applications and model inference. The issue occurs because the template src/bentoml/ internal/container/frontend/dockerfile/templates/base v2.j2 interpolates the docker.base image variable without escaping, newline filtering, or validation. A malicious bento.yaml file containing a multi-line value for docker.base image can smuggle arbitrary Dockerfile directives into the generated Dockerfile. When the bentoml containerize command is executed, it triggers a docker build that runs the injected RUN directives on the host system.
Recommendations Update to version 1.4.39.

Exploit

Fix

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-44345
GHSA-78F9-R8MH-4XM2
PYSEC-2026-189

Affected Products

Bentoml