CVE-2026-112264: BentoML through 1.4.39 Dockerfile Instruction Injection via docker.env Keys

Published Oct 19, 2026
·
Updated

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 Software

1 affected component
BentoML BentoML<=1.4.39

Event History

Oct 19, 2026
CVE Published
via MITRE·01:55 PM
Data Sourced
via MITRE·01:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:17 PM
DescriptionSeverityWeakness
Event
via NVD·03:41 PM

Frequently Asked Questions

1

Who is exposed to this issue?

Teams using BentoML through 1.4.39 are exposed when they run `bentoml containerize` on a crafted bentofile.yaml or an imported bento archive from an untrusted source. The injected instructions execute during the Docker build process.

2

What does an attacker need to exploit it?

An attacker needs to provide input that controls docker.env mapping keys, either in a bentofile.yaml or in an imported bento archive. The exploit uses newline characters in those keys to inject arbitrary Dockerfile instructions.

3

What is the impact during a successful exploit?

Injected RUN instructions can execute during the Docker build. This can expose build secrets and poison the resulting container image.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203