{"id":"CVE-2026-112264","revision":"3acc85bea50744e6b97ebdc5bbdbad34","records":[{"revision":"3acc85bea50744e6b97ebdc5bbdbad34","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-112264","aliases":[],"title":"BentoML through 1.4.39 Dockerfile Instruction Injection via docker.env Keys","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.","state":0,"publishedAt":"2026-10-19T13:55:14.43+00:00","modifiedAt":"2026-10-19T18:08:19.307+00:00","affected":[{"ecosystem":"https://pypi.org","name":"BentoML","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"bentoml\",\n                    \"product\": \"BentoML\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"1.4.39\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"custom\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:pypi/bentoml\",\n                    \"collectionURL\": \"https://pypi.org\",\n                    \"repo\": \"https://github.com/bentoml/BentoML\"\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":8.5,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://github.com/geo-chen/oss/blob/main/BentoML.md","https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/frontend/dockerfile/templates/base.j2","https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/bento/build_config.py","https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/generate.py","https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/__init__.py","https://www.vulncheck.com/advisories/bentoml-through-1.4.39-dockerfile-instruction-injection-via-docker-env-keys"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112264","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-112264","identifiers":["CVE-2026-112264"]},"retained":false,"historicalAffected":[]}],"coverage":[]}