CVE-2026-112264
BentoML through 1.4.39 Dockerfile Instruction Injection via docker.env Keys
CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-78 |
| Vendor | bentoml |
| Product | bentoml |
| Published | Oct 19, 2026 |
| Last Updated | Oct 19, 2026 |
Stay Ahead of the Next One
Get instant alerts for bentoml bentoml
Be the first to know when new high vulnerabilities affecting bentoml bentoml are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
bentoml / BentoML
0 โค 1.4.39
References
github.com: https://github.com/geo-chen/oss/blob/main/BentoML.md github.com: https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/frontend/dockerfile/templates/base.j2 github.com: https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/bento/build_config.py github.com: https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/generate.py github.com: https://github.com/bentoml/BentoML/blob/v1.4.39/src/bentoml/_internal/container/__init__.py vulncheck.com: https://www.vulncheck.com/advisories/bentoml-through-1.4.39-dockerfile-instruction-injection-via-docker-env-keys
Credits
George Chen