What’s Vulnerable › Vulnerabilities

CVE-2025-9959: Sandbox escape in smolagents Local Python execution environment via dunder attributes

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

Get alerted when CVE-2025-9959 or the next vulnerability affects your stack