Read the docs
TI-2026-32311 Aliases CVE-2026-44345GHSA-78f9-r8mh-4xm2

BentoML: Dockerfile command injection via docker.base_image

Priority HIGH 73CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.39, src/bentoml/_internal/container/frontend/dockerfile/templates/base_v2.j2 interpolates docker.base_image raw with no escaping, newline filtering, or validation. A malicious bento.yaml with a multi-line docker.base_image value smuggles arbitrary Dockerfile directives into the generated Dockerfile, and bentoml containerize then runs docker build which executes the injected RUN directives on the victim host. This vulnerability is fixed in 1.4.39.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00317 24th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed BentoML (bentoml): 1.4.39bentoml (PyPI): 1.4.39

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
bentomlBentoMLbefore 1.4.391.4.39Patch availableCNA
—bentoml (PyPI)before 1.4.391.4.39Patch availableGHSA-78f9-r8mh-4xm2
  • BentoML Vendorbentoml Affected before 1.4.39 Fixed in 1.4.39 Patch available CNA
  • bentoml (PyPI) Vendor— Affected before 1.4.39 Fixed in 1.4.39 Patch available GHSA-78f9-r8mh-4xm2

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:bentoml:bentoml:*:*:*:*:*:*:*:*before 1.4.39Vulnerablebentoml
  • cpe:2.3:a:bentoml:bentoml:*:*:*:*:*:*:*:* Versions before 1.4.39 Vulnerable ·bentoml

Remediation

  • Fix · CNA BentoML (bentoml) Fixed in 1.4.39
  • Fix · GHSA-78f9-r8mh-4xm2 bentoml (PyPI) Fixed in 1.4.39 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-44345
  2. 2026-10-03 Alias added: GHSA-78f9-r8mh-4xm2

References

  • TI-2025-34190 BentoML is Vulnerable to an SSRF Attack Through File Upload Processing CVSS 3.1CRITICAL 9.9
  • TI-2025-23454 Insecure Deserialization leads to RCE in BentoML's runner server CVSS 3.1CRITICAL 9.8
  • TI-2025-20352 BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization CVSS 3.1CRITICAL 9.8
  • TI-2026-27247 BentoML has a Server-Side Template Injection via unsandboxed Jinja2 Environment in Dockerfile generation CVSS 3.1CRITICAL 9.6
  • TI-2026-32312 BentoML: Dockerfile command injection via envs[*].name in bentofile.yaml CVSS 3.1HIGH 8.8
  • TI-2026-22249 BentoML has an Arbitrary File Write via Symlink Path Traversal in Tar Extraction CVSS 4.0HIGH 8.6
See all 10 →

Sources