CVE-2025-5120Huggingface Smolagents
Crítica 10.0 Sin autenticación
Seguir: esta CVE · Huggingface · Huggingface Smolagents Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 75
- CVSS 3.1
- 10.0
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 27 jul 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-94
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Smolagents.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | smolagents |
< 1.17.0 |
1.17.0 |
pip install "smolagents>=1.17.0" |
| PyPI | smolagents |
< 1.17.0 |
1.17.0 |
pip install "smolagents>=1.17.0" |
Según OSV / GitHub Advisories (GHSA-6v92-r5mx-h5fx, PYSEC-2026-542). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| huggingface | smolagents | 1.14.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- huntr.com Exploit Third Party Advisory