# CVE-2026-112264: BentoML through 1.4.39 Dockerfile Instruction Injection via docker.env Keys

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-19T13:55:14.430Z
- Modified: 2026-10-19T21:13:39.973Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- bentoml BentoML: up to 1.4.39

## Every score

- VulnCheck: CVSS:4.0 8.5 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/geo-chen/oss/blob/main/BentoML.md> (exploit, third-party-advisory)
- <https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/frontend/dockerfile/templates/base.j2> (technical-description)
- <https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/bento/build_config.py> (technical-description)
- <https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/generate.py> (technical-description)
- <https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/__init__.py> (technical-description)
- <https://www.vulncheck.com/advisories/bentoml-through-1.4.39-dockerfile-instruction-injection-via-docker-env-keys> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-112264](https://www.cve.org/CVERecord?id=CVE-2026-112264), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-112264](https://nvd.nist.gov/vuln/detail/CVE-2026-112264), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-112264 · Whole record: https://cve.day/CVE-2026-112264.json · Rebuilt by cve.day 2026-11-25T22:59:45.471Z
