CVE-2026-112264
HIGH 8.5BentoML 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.
Severe if exploited (CVSS 8.5), but no known exploitation and low modeled probability. Patch on a normal cadence.
Exploitation likelihood
0.2%chance of exploitation in 30 days · 12th percentile
Impact if exploited
8.5CVSS 4.0 · HIGH
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ⚠Access: Requires local access to the host
- ✓Privileges: No account or privileges required
- ⚠User interaction: Succeeds with passive user activity
- ✓Complexity: No special conditions — reliably repeatable
- ✓Requirements: No special attack requirements
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked daily for recent CVEs, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVSS vector
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
References and research data (JSON)
All CVSS metrics
- HIGH 8.5 v4.0 · CNA Primary
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 - HIGH 7.8 v3.1 · CNA Primary
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - HIGH 8.5 v4.0 · NVD Secondary
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - HIGH 7.8 v3.1 · NVD Secondary
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
Exploit-tagged references (not proof of a PoC)
- https://github.com/geo-chen/oss/blob/main/BentoML.md CVE record · VulnCheck · Updated 2026-10-19T13:55:14.430Z
CVE record · CISA-ADP · Updated 2026-10-19T18:08:19.307Z
NVD · CVE-2026-112264 · Updated 2026-10-19T21:13:39.973
Advisories
- https://www.vulncheck.com/advisories/bentoml-through-1.4.39-dockerfile-instruction-injection-via-docker-env-keys CVE record · VulnCheck · Updated 2026-10-19T13:55:14.430Z
NVD · CVE-2026-112264 · Updated 2026-10-19T21:13:39.973 - https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-104309 EUVD · EUVD-2026-104309
Technical & other
- https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/frontend/dockerfile/templates/base.j2 CVE record · VulnCheck · Updated 2026-10-19T13:55:14.430Z
NVD · CVE-2026-112264 · Updated 2026-10-19T21:13:39.973 - https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/bento/build_config.py CVE record · VulnCheck · Updated 2026-10-19T13:55:14.430Z
NVD · CVE-2026-112264 · Updated 2026-10-19T21:13:39.973 - https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/generate.py CVE record · VulnCheck · Updated 2026-10-19T13:55:14.430Z
NVD · CVE-2026-112264 · Updated 2026-10-19T21:13:39.973 - https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/__init__.py CVE record · VulnCheck · Updated 2026-10-19T13:55:14.430Z
NVD · CVE-2026-112264 · Updated 2026-10-19T21:13:39.973