Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
smolagents versions before 1.17.0 are affected by a sandbox escape in the local_python_executor.py module. An attacker who can supply code to be run by the agent's local Python executor can use whitelisted modules and functions to get past the restricted environment and run arbitrary code on the host. Upgrade smolagents to version 1.17.0 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.6 | High | 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L | CNA (@huntr_ai) |
- CISA KEV Not listed.
- EPSS 0.31, the 98th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
Sources
- GitHub Advisory Database: GHSA-6v92-r5mx-h5fx
- OSV: GHSA-6v92-r5mx-h5fx
- nvd.nist.gov/vuln/detail/CVE-2025-5120
- github.com/huggingface/smolagents/commit/33a942e62b6fbf6a35d41f1c735bda2d64c163d0
- github.com/huggingface/smolagents
- huntr.com/bounties/63ab1cfe-b573-4cf5-a7d3-fb6c957e34b0
- pypi.org/project/smolagents
- github.com/advisories/GHSA-6v92-r5mx-h5fx