Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. bentoml
  4. ›
  5. CVE-2026-44345

CVE-2026-44345: BentoML Dockerfile command injection via docker.base_image (sister of pending GHSA-w2pm-x38x-jp44 / CVE-2026-33744 / CVE-2026-35043)

May 11, 2026 (updated June 8, 2026)

The same Dockerfile template that mishandles envs[*].name (pending GHSA-w2pm-x38x-jp44) also 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.

References

  • github.com/advisories/GHSA-78f9-r8mh-4xm2
  • github.com/bentoml/BentoML/security/advisories/GHSA-78f9-r8mh-4xm2
  • github.com/bentoml/BentoML/security/advisories/GHSA-w2pm-x38x-jp44
  • github.com/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-189.yaml
  • nvd.nist.gov/vuln/detail/CVE-2026-44345

Code Behaviors & Features

Detect and mitigate CVE-2026-44345 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.4.39

Fixed versions

  • 1.4.39

Solution

Upgrade to version 1.4.39 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

pypi/bentoml/CVE-2026-44345.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:27 +0000.