CVE-2025-9959

High severity, CVSS 7.6. EPSS: 0.3% chance of exploitation in the next 30 days.

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.

Published 2025-09-03. Last modified 2026-09-26.