CVE Catalog

CVE-2026-112264

HighCVSS 7.8
Published: Translated: NVD NIST

Summary

BentoML through 1.4.39 contains a Dockerfile instruction injection vulnerability allowing attackers to add arbitrary build instructions by embedding newlines in docker.env mapping keys rendered by the legacy base.j2 template. A crafted bentofile.yaml or imported bento archive can cause bentoml containerize to execute injected RUN instructions during docker build, accessing build secrets and poisoning images.

Risk Assessment

An attacker could access build secrets and poison container images, potentially leading to compromise of the production environment. CI/CD pipelines using BentoML are at risk.

Recommendation

Update BentoML to a version containing the fix or validate templates rendering docker.env. Also restrict trust in bentofile.yaml and imported bento archives.

Other vulnerabilities in BentoML

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS