High severity7.8NVD Advisory· Published Oct 19, 2026
CVE-2026-112264
CVE-2026-112264
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.
Affected products
1Patches
Vulnerability mechanics
References
6- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/bento/build_config.pynvd
- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/__init__.pynvd
- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/frontend/dockerfile/templates/base.j2nvd
- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/generate.pynvd
- github.com/geo-chen/oss/blob/main/BentoML.mdnvd
- www.vulncheck.com/advisories/bentoml-through-1.4.39-dockerfile-instruction-injection-via-docker-env-keysnvd
News mentions
0No linked articles in our index yet.