RCE in Bentoml
CVE-2026-112264
BentoML through 1.4.39 contains a Dockerfile instruction injection vulnerability that allows attackers to add arbitrary build instructions by embedding newlines in docker.env mapping keys rendered by the legacy base.j2 template. Attackers can supply a crafted bentofile.yaml or imported bento archive so that bentoml containerize executes injected RUN instructions during docker build, accessing build secrets and poisoning images.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/geo-chen/oss/blob/main/BentoML.md (third-party-advisory)
- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/fronten… (technical-description)
- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/bento/build_confi… (technical-description)
- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/generat… (technical-description)
- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/__init_… (technical-description)
- www.vulncheck.com/advisories/bentoml-through-1.4.39-dockerfile-instruction-inje… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-112264?
- CVE-2026-112264 is a high-severity vulnerability in Bentoml, classified under OS Command Injection. CVSS score: 7.8/10. Published 2026-10-19.
- How severe is CVE-2026-112264?
- High severity. CVSS v3 base score is 7.8 out of 10.