CVE-2026-112264
highBentoML through 1.4.39 contains a Dockerfile instruction injection vulnerability that allows attackers to add arbitrary build instructions by embedding newline…
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/bento/build_config.p... disclosure@vulncheck.com
- https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/__init__.p... disclosure@vulncheck.com
- https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/frontend/d... disclosure@vulncheck.com
- https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/generate.p... disclosure@vulncheck.com
- https://github.com/geo-chen/oss/blob/main/BentoML.md disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/bentoml-through-1.4.39-dockerfile-instruction-injecti... disclosure@vulncheck.com
- https://github.com/geo-chen/oss/blob/main/BentoML.md 134c704f-9b21-4f2e-91b3-4a467353bcc0
