8.8High

CVE-2026-44346BentoML: Dockerfile command injection via envs[*].name in bentofile.yaml

bentoml BentoML Published: (5 months ago)

Description

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.39, a malicious bentofile.yaml containing a newline-injected value in envs[*].name produces unquoted RUN directives in the BentoML-generated Dockerfile. When the victim runs bentoml containerize on the imported bento, those RUN directives execute on the host during docker build. This vulnerability is fixed in 1.4.39.

Weakness (CWE): CWE-78CWE-94

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
bentoml BentoML < 1.4.39

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:bentoml:bentoml:*:*:*:*:*:*:*:* < 1.4.39