CVE-2026-33744 json
BentoML has Dockerfile Command Injection via system_packages in bentofile.yaml
published 2026-03-26 7 mo ago modified 2026-10-07 32 d ago also GHSA-jfjg-vc52-wqvf , PYSEC-2026-157 , EUVD-2026-16513
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 17%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi bentoml 1.4.37
- bentoml bentoml 1.4.37
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 7 mo ago
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 17% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/bentoml/BentoML/security/advisories/GHSA-jfjg-vc52-wqvf referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | bentoml | <1.4.37 |
1.4.37 |
Affected products
- bentoml BentoML
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/bentoml/BentoML/security/advisories/GHSA-jfjg-vc52-wqvf
web, exploit, mitigation, vendor-advisory, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2026-33744
advisory
-
github.com
/bentoml/BentoML
package
-
github.com
/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-157.yaml
web
Sources
- CVE List CVE-2026-33744
- GitHub Advisory GHSA-jfjg-vc52-wqvf
- NVD CVE-2026-33744
- OSV PYSEC-2026-157
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.