CVE-2026-24123
MEDIUM 6.5CVSS 3.1BentoML has a Path Traversal via Bentofile Configuration
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.
- Published
- 26 Jan 2026
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-6r62-w2q3-48hfPYSEC-2026-1218
- Sources
- NVDJSONOSV GHSA-6r62-w2q3-48hfJSONOSV PYSEC-2026-1218JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | bentoml | bentomlcpe:2.3:a:bentoml:bentoml:*:*:*:*:*:*:*:* |
< 1.4.34 | 1.4.34 |
| OSV | PyPI | bentoml | < 1.4.34 | 1.4.34 |
References
- https://github.com/bentoml/BentoML/commit/84d08cfeb40c5f2ce71b3d3444bbaa0fb16b5ca4 · Patch, WEB
- https://github.com/bentoml/BentoML/releases/tag/v1.4.34 · Product, Release Notes, WEB
- https://github.com/bentoml/BentoML/security/advisories/GHSA-6r62-w2q3-48hf · Vendor Advisory, 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
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 26 Jan 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Jan 2026)