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

High 8.5 Published Updated

Attackers can inject Dockerfile instructions via bentofile.yaml to execute arbitrary commands during container build, exposing secrets and poisoning images.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-112264?

CVE-2026-112264 is a high-severity command injection vulnerability in BentoML, published on 19 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-78

Which versions are affected by CVE-2026-112264?

How do I fix CVE-2026-112264?

No fix has been published for CVE-2026-112264 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-112264 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-112264 exists.

Sources

Also known as GHSA-rq23-h86h-7v4x.

Is CVE-2026-112264 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free