RCE in Bentoml
CVE-2026-44346
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 25.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Bentoml — versions < 1.4.39
Weakness classification (CWE)
References
- https://github.com/bentoml/BentoML/security/advisories/GHSA-w2pm-x38x-jp44 (Exploit, Mitigation, Vendor Advisory)