CVE-2025-9959CWE-94code-injection
CVE-2025-9959
High · published September 3, 2025
What it is
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.
The record
Technical detail
- CVSS v3.1
- 7.6 · HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L
- CVSS v4.0
- Not supplied
- EPSS
- 0.00312 · 22.8th percentile
- Weakness
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
- Published
- 2025-09-03T21:15Z
References (2)
EPSS history
Timeline