{"id":"CVE-2026-112264","title":"BentoML through 1.4.39 Dockerfile Instruction Injection via docker.env Keys","summary":"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. Attacker…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-78"],"vendor":"bentoml","product":"BentoML","affected":["BentoML <= 1.4.39"],"published":"2026-10-19","updated":"2026-10-19","sourceUpdated":"2026-10-19T13:55:14.430Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112264","references":[{"url":"https://github.com/geo-chen/oss/blob/main/BentoML.md"},{"url":"https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/frontend/dockerfile/templates/base.j2"},{"url":"https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/bento/build_config.py"},{"url":"https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/generate.py"},{"url":"https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/__init__.py"},{"url":"https://www.vulncheck.com/advisories/bentoml-through-1.4.39-dockerfile-instruction-injection-via-docker-env-keys","label":"VulnCheck Advisory: BentoML through 1.4.39 Dockerfile Instruction Injection via docker.env Keys"}],"tags":["cve.org"],"ingestedAt":"2026-10-19T14:30:01.075Z","slug":"CVE-2026-112264","body":"## Overview\n\nBentoML 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.\n\n## Affected\n\n- `BentoML <= 1.4.39`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}