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

CVE-2026-33744: BentoML has Dockerfile Command Injection via system_packages in bentofile.yaml

March 26, 2026 (updated June 8, 2026)

The docker.system_packages field in bentofile.yaml accepts arbitrary strings that are interpolated directly into Dockerfile RUN commands without sanitization. Since system_packages is semantically a list of OS package names (data), users do not expect values to be interpreted as shell commands. A malicious bentofile.yaml achieves arbitrary command execution during bentoml containerize / docker build.

References

  • github.com/advisories/GHSA-jfjg-vc52-wqvf
  • github.com/bentoml/BentoML/security/advisories/GHSA-jfjg-vc52-wqvf
  • github.com/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-157.yaml
  • nvd.nist.gov/vuln/detail/CVE-2026-33744

Code Behaviors & Features

Detect and mitigate CVE-2026-33744 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.37

Fixed versions

  • 1.4.37

Solution

Upgrade to version 1.4.37 or above.

Impact 7.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/bentoml/CVE-2026-33744.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:09 +0000.