CVE-2026-112264
BentoML through 1.4.39 contains a Dockerfile instruction injection …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/bento/build_config.py
- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/__init__.py
- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/frontend/dockerfil
- github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/generate.py
- github.com/geo-chen/oss/blob/main/BentoML.md
- www.vulncheck.com/advisories/bentoml-through-1.4.39-dockerfile-instruction-injection-via-d
- nvd.nist.gov/vuln/detail/CVE-2026-112264
- cve.org/CVERecord?id=CVE-2026-112264
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.