CVE-2026-24123Bentoml
Medium 6.5 No auth needed
Follow: this CVE · Bentoml · Bentoml We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Jan 26, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Bentoml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | bentoml |
< 1.4.34 |
1.4.34 |
pip install "bentoml>=1.4.34" |
| PyPI | bentoml |
< 1.4.34 |
1.4.34 |
pip install "bentoml>=1.4.34" |
Per OSV / GitHub Advisories (GHSA-6r62-w2q3-48hf, PYSEC-2026-1218). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bentoml | bentoml | < 1.4.34 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Product Release Notes
- github.com Vendor Advisory