GHSA-6v92-r5mx-h5fx · Severity: critical · Ecosystem: pip — smolagents has Sandbox Escape Vulnerability in the local_python_executor.py Module
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.
Conclusion & alert: CVE-2025-5120 is rated High Exploit Risk (89/100): CVSS Critical severity, with high exploitation likelihood (EPSS 17.65%, 97th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-17 | 17.52% | 17.65% | +0.14% |
| 2 | 2026-06-15 | 1.87% | 17.52% | +15.65% |
| 3 | 2026-05-23 | — | 1.87% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 10.0 | 3.1 | CRITICAL |
|
3.9 | 6.0 | [email protected] |
| 7.6 | 3.0 | HIGH |
|
2.8 | 4.7 | [email protected] |
GHSA-6v92-r5mx-h5fx · Severity: critical · Ecosystem: pip — smolagents has Sandbox Escape Vulnerability in the local_python_executor.py Module
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| huggingface | smolagents | 1.14.0 | cpe:2.3:a:huggingface:smolagents:1.14.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/huggingface/smolagents/commit/33a942e62b6fbf6a35d41f1c735bda2d64c163d0 | Patch |
| https://huntr.com/bounties/63ab1cfe-b573-4cf5-a7d3-fb6c957e34b0 | Exploit Third Party Advisory |