BentoML has a Path Traversal via Bentofile Configuration
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| bentoml | BentoML | before 1.4.34 | 1.4.34 | Patch available | CNA |
| — | bentoml (PyPI) | before 1.4.34 | 1.4.34 | Patch available | GHSA-6r62-w2q3-48hf |
- BentoML Vendorbentoml Affected before 1.4.34 Fixed in 1.4.34 Patch available CNA
- bentoml (PyPI) Vendor— Affected before 1.4.34 Fixed in 1.4.34 Patch available GHSA-6r62-w2q3-48hf
Remediation
- Fix · CNA BentoML (bentoml) Fixed in 1.4.34
- Fix · GHSA-6r62-w2q3-48hf bentoml (PyPI) Fixed in 1.4.34 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-24123
- 2026-10-03 Alias added: GHSA-6r62-w2q3-48hf
References
Advisory 2
More Bentoml vulnerabilities
- TI-2025-34190 BentoML is Vulnerable to an SSRF Attack Through File Upload Processing CVSS 3.1CRITICAL 9.9
- TI-2025-23454 Insecure Deserialization leads to RCE in BentoML's runner server CVSS 3.1CRITICAL 9.8
- TI-2025-20352 BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization CVSS 3.1CRITICAL 9.8
- TI-2026-27247 BentoML has a Server-Side Template Injection via unsandboxed Jinja2 Environment in Dockerfile generation CVSS 3.1CRITICAL 9.6
- TI-2026-32312 BentoML: Dockerfile command injection via envs[*].name in bentofile.yaml CVSS 3.1HIGH 8.8
- TI-2026-32311 BentoML: Dockerfile command injection via docker.base_image CVSS 3.1HIGH 8.8
Sources
- CVE-2026-24123 · CVE Program
- CVE-2026-24123 · NVD
- FIRST EPSS
- GHSA-6r62-w2q3-48hf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences