# CVE-2026-24123: BentoML has a Path Traversal via Bentofile Configuration

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- 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.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-01-26T21:17:16.000Z
- Modified: 2026-07-07T17:57:38.254Z
- Also known as: GHSA-6r62-w2q3-48hf, PYSEC-2026-1218
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to version 1.4.34, BentoML's `bentofile.yaml` configuration allows path traversal attacks through multiple file path fields (`description`, `docker.setup_script`, `docker.dockerfile_template`, `conda.environment_yml`). An attacker can craft a malicious bentofile that, when built by a victim, exfiltrates arbitrary files from the filesystem into the bento archive. This enables supply chain attacks where sensitive files (SSH keys, credentials, environment variables) are silently embedded in bentos and exposed when pushed to registries or deployed. Version 1.4.34 contains a patch for the issue.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/bentoml/BentoML/security/advisories/GHSA-6r62-w2q3-48hf> (vendor-advisory, web)
- <https://github.com/bentoml/BentoML/commit/84d08cfeb40c5f2ce71b3d3444bbaa0fb16b5ca4> (patch, web)
- <https://github.com/bentoml/BentoML/releases/tag/v1.4.34> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24123> (advisory)
- <https://github.com/bentoml/BentoML> (package)
- <https://pypi.org/project/bentoml> (package)
- <https://github.com/advisories/GHSA-6r62-w2q3-48hf> (advisory)

## Sources

- CVE List: [CVE-2026-24123](https://www.cve.org/CVERecord?id=CVE-2026-24123), CVE Terms of Use, modified 2026-01-27
- GitHub Advisory Database: [GHSA-6r62-w2q3-48hf](https://github.com/advisories/GHSA-6r62-w2q3-48hf), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-24123](https://nvd.nist.gov/vuln/detail/CVE-2026-24123), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1218](https://osv.dev/vulnerability/PYSEC-2026-1218), CC-BY-4.0, modified 2026-07-07

---

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