BentoML has Dockerfile Command Injection via system_packages in bentofile.yaml
Published Mar 27, 2026
7.8
HIGHCVSS 3.1
EPSS 0.25%
Description
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.37, 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`. Version 1.4.37 fixes the issue.
Affected products
-
- Version < 1.4.37StatusaffectedConstraints-
- Version
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Mar 27, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
Mar–Oct 2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.25% (0.00249) | 14.68th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.26% (0.00257) | 16.75th | v5 (v2026.06.15) |
| Mar 27, 2026 | 0.02% (0.00020) | 5.20th | v4 (v2025.03.14) |
References (4)
- https://github.com/advisories/GHSA-jfjg-vc52-wqvf Advisory
- https://github.com/bentoml/BentoML/security/advisories/GHSA-jfjg-vc52-wqvf x_refsource_CONFIRMExploitMitigationVendor Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-157.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2026-33744
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-jfjg-vc52-wqvf | Advisory | |
| https://github.com/bentoml/BentoML/security/advisories/GHSA-jfjg-vc52-wqvf | x_refsource_CONFIRMExploitMitigationVendor Advisory | |
| https://github.com/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-157.yaml | ||
| https://nvd.nist.gov/vuln/detail/CVE-2026-33744 |
Change history (0)
No recorded changes yet.