CVE-2026-44345
HIGH 8.8CVSS 3.1BentoML Dockerfile command injection via docker.base_image (sister of pending GHSA-w2pm-x38x-jp44 / CVE-2026-33744 / CVE-2026-35043)
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.
- Published
- 27 May 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-78
- Also known as
- GHSA-78f9-r8mh-4xm2PYSEC-2026-189
- Sources
- NVDJSONOSV GHSA-78f9-r8mh-4xm2JSONOSV PYSEC-2026-189JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | bentoml | bentomlcpe:2.3:a:bentoml:bentoml:*:*:*:*:*:*:*:* |
< 1.4.39 | 1.4.39 |
| OSV | PyPI | bentoml | < 1.4.39 | 1.4.39 |
References
- https://github.com/bentoml/BentoML/security/advisories/GHSA-78f9-r8mh-4xm2 · Exploit, Mitigation, Vendor Advisory, WEB, EVIDENCE
- https://github.com/bentoml/BentoML/security/advisories/GHSA-w2pm-x38x-jp44 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-44345 · ADVISORY
- https://github.com/bentoml/BentoML · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-189.yaml · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 May 2026)