CVE-2025-5120 (CNNVD-202507-3410)

HIGH
中文标题:
smolagents 代码注入漏洞
英文标题:
Sandbox Escape Vulnerability in huggingface/smolagents
CVSS分数: 7.6
发布时间: 2025-07-27 07:57:07
漏洞类型: 代码注入
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

smolagents是Hugging Face开源的一个代理的基本库。 smolagents 1.14.0版本存在代码注入漏洞,该漏洞源于local_python_executor.py模块限制不足,可能导致远程代码执行。

英文描述:

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.

CWE类型:
CWE-94
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
huggingface huggingface/smolagents - < 1.17.0 - cpe:2.3:a:huggingface:huggingface_smolagents:*:*:*:*:*:*:*:*
huggingface smolagents 1.14.0 - - cpe:2.3:a:huggingface:smolagents:1.14.0:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 OTHER
cve.org
访问
无标题 OTHER
cve.org
访问
CVSS评分详情
3.0 (cna)
HIGH
7.6
CVSS向量: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L
机密性
LOW
完整性
HIGH
可用性
LOW
时间信息
发布时间:
2025-07-27 07:57:07
修改时间:
2025-07-28 14:09:25
创建时间:
2025-11-11 15:40:39
更新时间:
2025-11-11 16:00:02
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-5120 2025-11-11 15:23:31 2025-11-11 07:40:39
NVD nvd_CVE-2025-5120 2025-11-11 15:00:57 2025-11-11 07:48:26
CNNVD cnnvd_CNNVD-202507-3410 2025-11-11 15:12:51 2025-11-11 08:00:02
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:02
vulnerability_type: 未提取 → 代码注入; cnnvd_id: 未提取 → CNNVD-202507-3410; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 代码注入
  • cnnvd_id: 未提取 -> CNNVD-202507-3410
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:26
affected_products_count: 1 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']