CVE-2026-44346CWE-78CWE-94

BentoML: Dockerfile command injection via envs[*].name in bentofile.yaml

High · published May 27, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
40.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00476 · 40.1th percentile
Weaknesses
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'); CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-05-27T17:22Z
EPSS history
Timeline
  • 27 MAY 17:22Z
    BentoML: Dockerfile command injection via envs[*].name in bentofile.yaml
    cvelistv5