SCA: security update for smolagents (GHSA-6v92-r5mx-h5fx)

critical Tenable Cloud Security Plugin ID 428638

Description

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

- A sandbox escape vulnerability was identified in huggingface/smolagents version 1.14.0, allowing attackers
to bypass the restricted execution environment and achieve remote code execution (RCE). The vulnerability
stems from the local_python_executor.py module, which inadequately restricts Python code execution despite
employing static and dynamic checks. Attackers can exploit whitelisted modules and functions to execute
arbitrary code, compromising the host system. This flaw undermines the core security boundary intended to
isolate untrusted code, posing risks such as unauthorized code execution, data leakage, and potential
integration-level compromise. The issue is resolved in version 1.17.0. (CVE-2025-5120)

See Also

https://github.com/advisories/GHSA-6v92-r5mx-h5fx

Plugin Details

Severity: Critical

ID: 428638

Version: Revision 1.13

Type: Local

Family: SCA Checks

Published: 7/28/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.39

Vendor

Vendor Severity: Critical

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-2025-5120

CVSS v3

Risk Factor: Critical

Base Score: 10

Temporal Score: 9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/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: 7/27/2025

Vulnerability Publication Date: 7/27/2025

Reference Information

CVE: CVE-2025-5120

cwe: CWE-94