Path Traversal in Bentoml
CVE-2026-24123
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.005 (40.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 40.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.001
Affected products
- Bentoml — versions < 1.4.34
Weakness classification (CWE)
References
- github.com/bentoml/BentoML/security/advisories/GHSA-6r62-w2q3-48hf (Vendor Advisory)
- github.com/bentoml/BentoML/commit/84d08cfeb40c5f2ce71b3d3444bbaa0fb16b5ca4 (Patch)
- github.com/bentoml/BentoML/releases/tag/v1.4.34 (Product, Release Notes)
Frequently asked questions
- What is CVE-2026-24123?
- CVE-2026-24123 is a high-severity vulnerability in Bentoml, classified under Path Traversal. CVSS score: 7.4/10. Published 2026-01-26.
- How severe is CVE-2026-24123?
- High severity. CVSS v3 base score is 7.4 out of 10.