CVE-2026-27905Bentoml
High 8.6
Follow: this CVE · Bentoml · Bentoml We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 4.0
- 8.6
- EPSS
- —
- Auth required
- Yes
- Published
- Mar 3, 2026
- Updated
- Oct 7, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-59
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.36, the safe_extract_tarfile() function validates that each tar member's path is within the destination directory, but for symlink members it only validates the symlink's own path, not the symlink's target. An attacker can create a malicious bento/model tar file containing a symlink pointing outside the extraction directory, followed by a regular file that writes through the symlink, achieving arbitrary file write on the host filesystem. This vulnerability is fixed in 1.4.36.
What to do
- Apply the vendor's security update for Bentoml.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | bentoml |
< 1.4.36 |
1.4.36 |
pip install "bentoml>=1.4.36" |
| PyPI | bentoml |
< 1.4.36 |
1.4.36 |
pip install "bentoml>=1.4.36" |
Per OSV / GitHub Advisories (GHSA-m6w7-qv66-g3mf, PYSEC-2026-2398). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bentoml | bentoml | < 1.4.36 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Mitigation Vendor Advisory