CVE-2026-44345 json
BentoML: Dockerfile command injection via docker.base_image
published 2026-05-11 5 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-32610 , GHSA-78f9-r8mh-4xm2 , PYSEC-2026-189
- cvss
- 8.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 24%
- 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.39, src/bentoml/_internal/container/frontend/dockerfile/templates/base_v2.j2 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. This vulnerability is fixed in 1.4.39.
Patch / fix
- pypi bentoml 1.4.39
- bentoml bentoml 1.4.39
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 5 mo ago
Exploit prediction
0.32% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/bentoml/BentoML/security/advisories/GHSA-78f9-r8mh-4xm2 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/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.39 |
1.4.39 |
Affected products
- bentoml BentoML
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/bentoml/BentoML/security/advisories/GHSA-78f9-r8mh-4xm2
exploit, web, mitigation, vendor-advisory, evidence
-
github.com
/bentoml/BentoML/security/advisories/GHSA-w2pm-x38x-jp44
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-44345
advisory
-
github.com
/bentoml/BentoML
package
-
github.com
/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-189.yaml
web
Sources
- CVE List CVE-2026-44345
- GitHub Advisory GHSA-78f9-r8mh-4xm2
- NVD CVE-2026-44345
- OSV PYSEC-2026-189
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.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.