Home / CVE-2025-9959
CVE-2025-9959: is it exploited, and which versions are affected and fixed?
CVE-2025-9959 is a code injection (remote code execution) vulnerability. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: smolagents before 1.21.0 (CVE record by JFROG). Fixed in 1.21.0 (CVE record by JFROG). Severity: High (7.6, CVSS 3.1, from JFROG).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:17 UTC.
What is CVE-2025-9959?
Sandbox escape in smolagents Local Python execution environment via dunder attributes
Incomplete validation of dunder attributes allows an attacker to escape from the Local Python execution environment sandbox, enforced by smolagents. The attack requires a Prompt Injection in order to trick the agent to create malicious code.
From the CVE record by JFROG, last updated September 3, 2025, 18:48 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| smolagents | before 1.21.0 | 1.21.0 |
As the CVE record by JFROG states it, last updated September 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-9959?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L | JFROG |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-9959 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 3, 2025)
- EPSS
- 0.34% probability of exploitation activity in the next 30 days, percentile 28.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://research.jfrog.com/vulnerabilities/smolagents-local-python-sandbox-escape-jfsa-2025-001434277/ third-party-advisory
- https://github.com/huggingface/smolagents/pull/1551 patch
When was it published, and where is the official record?
- Reserved
- September 3, 2025
- Published
- September 3, 2025, 16:53 UTC
- CVE record updated
- September 3, 2025, 18:48 UTC by JFROG
- NVD
- Deferred, last modified September 26, 2026, 00:10 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on September 3, 2025?
- Sep 3, 2025CVE-2025-58355 charmbracelet soft-serve: path traversal (reading or writing files outside the intended folder)
- Sep 3, 2025CVE-2025-9938 D-Link DI-8400: stack buffer overflow
- Sep 3, 2025CVE-2025-9937 elunez eladmin: improper authorization
- Sep 3, 2025CVE-2025-9936 fuyang_lipengjun platform: improper authorization
- Sep 3, 2025CVE-2025-9935 TOTOLINK N600R: command injection
- Sep 3, 2025CVE-2025-9934 TOTOLINK X5000R: command injection
- Sep 3, 2025CVE-2025-9933 PHPGurukul Beauty Parlour Management System: SQL injection
- Sep 3, 2025CVE-2025-58064 ckeditor5: cross-site scripting (XSS)
Every CVE published on September 3, 2025
Questions about CVE-2025-9959
Is CVE-2025-9959 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.34% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions are affected by CVE-2025-9959?
smolagents before 1.21.0, per the CVE record by JFROG. The tables above give every range the sources list.
Which version fixes CVE-2025-9959?
1.21.0, per the CVE record by JFROG. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-9959?
High (7.6, CVSS 3.1, from JFROG). The severity table above shows each score with its source.
Where is the official record of CVE-2025-9959?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.