SCA: security update for bentoml (GHSA-v959-cwq9-7hr6)

critical Tenable Self-Hosted Container Security Plugin ID 498310

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- BentoML is a Python library for building online serving systems optimized for AI apps and model inference.
Prior to 1.4.38, the Dockerfile generation function generate_containerfile() in
src/bentoml/_internal/container/generate.py uses an unsandboxed jinja2.Environment with the jinja2.ext.do
extension to render user-provided dockerfile_template files. When a victim imports a malicious bento
archive and runs bentoml containerize, attacker-controlled Jinja2 template code executes arbitrary Python
directly on the host machine, bypassing all container isolation. This vulnerability is fixed in 1.4.38.
(CVE-2026-35044)

Solution

Update the bentoml library and its related packages to version 1.4.38 or later.

See Also

https://github.com/advisories/GHSA-v959-cwq9-7hr6

Plugin Details

Severity: Critical

ID: 498310

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 93.18

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-35044

CVSS v3

Risk Factor: Critical

Base Score: 9.6

Temporal Score: 8.6

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/3/2026

Vulnerability Publication Date: 4/3/2026

Reference Information

CVE: CVE-2026-35044