- CVSS
- HIGH · 7.6v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L
- Published
- 2025-09-03
- Weakness
- CWE-94
- Source
- nvd.nist.gov/vuln/detail/CVE-2025-9959
Description
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.
References
How GTK Cyber trains on this
AI security training at GTK Cyber covers the LLM and ML-pipeline vulnerability classes that vulnerabilities like CVE-2025-9959 fall into. Our hands-on courses are taught by Charles Givre and other practitioners who break and defend production AI systems.