# CVE-2026-44346: BentoML: Dockerfile command injection via envs[*].name in bentofile.yaml

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-11T14:27:37.000Z
- Modified: 2026-06-17T10:50:32.237Z
- Also known as: GHSA-w2pm-x38x-jp44, PYSEC-2026-190
- Weaknesses: CWE-78, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.39, a malicious bentofile.yaml containing a newline-injected value in envs[*].name produces unquoted RUN directives in the BentoML-generated Dockerfile. When the victim runs bentoml containerize on the imported bento, those RUN directives execute on the host during docker build. This vulnerability is fixed in 1.4.39.

(As written by CVE List.)

## Affected

- bentoml BentoML: < 1.4.39; before 1.4.39
- bentoml (PyPI): before 1.4.39

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/bentoml/BentoML/security/advisories/GHSA-w2pm-x38x-jp44> (exploit, evidence, mitigation, vendor-advisory, web)
- <https://github.com/bentoml/BentoML/security/advisories/GHSA-78f9-r8mh-4xm2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44346> (advisory)
- <https://github.com/bentoml/BentoML> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-190.yaml> (web)

## Sources

- CVE List: [CVE-2026-44346](https://www.cve.org/CVERecord?id=CVE-2026-44346), CVE Terms of Use, modified 2026-05-28
- GitHub Advisory Database: [GHSA-w2pm-x38x-jp44](https://github.com/advisories/GHSA-w2pm-x38x-jp44), CC-BY-4.0, modified 2026-06-09
- NVD: [CVE-2026-44346](https://nvd.nist.gov/vuln/detail/CVE-2026-44346), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-190](https://osv.dev/vulnerability/PYSEC-2026-190), CC-BY-4.0, modified 2026-06-03

---

Page: https://cve.day/CVE-2026-44346 · Whole record: https://cve.day/CVE-2026-44346.json · Rebuilt by cve.day 2026-11-25T22:59:22.627Z
