CVE-2026-112264
BentoML through 1.4.39 Dockerfile Instruction Injection via docker.env Keys
bentoml BentoML
CVSS
8.5HighExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 19 Oct 2026. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)0.22%Chance of exploitation activity in the next 30 days, higher than 11% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 1
- BentoMLaffected: all versions through 1.4.39CVE List
References 6
- vulncheck.com/advisories/bentoml-through-1.4.39-dockerfile-instruction-injection-via-docker-env-keysAdvisoryvia CVE List
- github.com/geo-chen/oss/blob/main/BentoML.mdExploitvia CVE List
- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/frontend/dockerfile/templates/base.j2Referencevia CVE List
- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/bento/build_config.pyReferencevia CVE List
- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/generate.pyReferencevia CVE List
- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/__init__.pyReferencevia CVE List