BentoML up to 1.4.35 Bento safe_extract_tarfile link following
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
A vulnerability identified as critical has been detected in BentoML up to 1.4.35. Affected by this vulnerability is the function safe_extract_tarfile of the component Bento Handler. The manipulation leads to link following.
This vulnerability is listed as CVE-2026-27905. The attack must be carried out locally. There is no available exploit.
You should upgrade the affected component.
Details
A vulnerability was found in BentoML up to 1.4.35. It has been rated as critical. This issue affects the function safe_extract_tarfile of the component Bento Handler. The manipulation with an unknown input leads to a link following vulnerability. Using CWE to declare the problem leads to CWE-59. The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2026-27905 since 02/24/2026. The exploitation is known to be easy. Attacking locally is a requirement. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 300821 (BentoML < 1.4.36 Arbitrary File Write), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 1.4.36 eliminates this vulnerability. Applying the patch 4e0eb007765ac04c7924220d643f264715cc9670 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (300821). Be aware that VulDB is the high quality source for vulnerability data.
Product
Name
Version
- 1.4.0
- 1.4.1
- 1.4.2
- 1.4.3
- 1.4.4
- 1.4.5
- 1.4.6
- 1.4.7
- 1.4.8
- 1.4.9
- 1.4.10
- 1.4.11
- 1.4.12
- 1.4.13
- 1.4.14
- 1.4.15
- 1.4.16
- 1.4.17
- 1.4.18
- 1.4.19
- 1.4.20
- 1.4.21
- 1.4.22
- 1.4.23
- 1.4.24
- 1.4.25
- 1.4.26
- 1.4.27
- 1.4.28
- 1.4.29
- 1.4.30
- 1.4.31
- 1.4.32
- 1.4.33
- 1.4.34
- 1.4.35
License
Website
- Product: https://github.com/bentoml/BentoML/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 6.5VulDB Meta Temp Score: 6.4
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Link followingCWE: CWE-59
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 300821
Nessus Name: BentoML < 1.4.36 Arbitrary File Write
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: BentoML 1.4.36
Patch: 4e0eb007765ac04c7924220d643f264715cc9670
Timeline
02/24/2026 CVE reserved03/04/2026 Advisory disclosed
03/04/2026 VulDB entry created
03/06/2026 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-m6w7-qv66-g3mf
Status: Confirmed
CVE: CVE-2026-27905 (🔒)
GCVE (CVE): GCVE-0-2026-27905
GCVE (VulDB): GCVE-100-348623
Entry
Created: 03/04/2026 04:31Updated: 03/06/2026 04:07
Changes: 03/04/2026 04:31 (70), 03/06/2026 00:22 (2), 03/06/2026 04:07 (11)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.