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

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
  • github.com/bentoml/BentoML/security/advisories/GHSA-jfjg-vc52-wqvf
  • 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. Learn more about Dependency Scanning →

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 Thu, 26 Mar 2026 12:19:12 +0000.