Skip to content
OpenAdvisories
High · 7.8 CVE-2026-112264 EUVD-2026-104309GHSA-rq23-h86h-7v4x

BentoML through 1.4.39 Dockerfile Instruction Injection via docker.env Keys

Published Oct 19, 2026 · Updated Oct 19, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
bentoml BentoML ≤ 1.4.39 —

References