BentoML < 1.4.36 Arbitrary File Write

high Nessus Plugin ID 300821

Synopsis

The BentoML library installed on the remote host is affected by an arbitrary file write vulnerability.

Description

The version of the BentoML library installed on the remote host is prior to 1.4.36. It is, therefore, affected by an arbitrary file write vulnerability:

- 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. (CVE-2026-27905)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to BentoML version 1.4.36 or later.

See Also

http://www.nessus.org/u?4eec088b

Plugin Details

Severity: High

ID: 300821

File Name: bentoml_1_4_36.nasl

Version: 1.1

Type: local

Agent: windows, macosx, unix

Published: 3/5/2026

Updated: 3/5/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v3

Risk Factor: High

Base Score: 8.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

CVSS v4

Risk Factor: High

Base Score: 8.6

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

Vulnerability Information

CPE: cpe:/a:bentoml:bentoml

Required KB Items: installed_sw/BentoML

Patch Publication Date: 3/3/2026

Vulnerability Publication Date: 3/3/2026

Reference Information

CVE: CVE-2026-27905

CWE: 59