PoC Monitor
← All CVEs
CVE-2025-9959published 3 Sep 2025 16:53 UTCData: JSON · API

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.6high · scored by CNA · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

  • < 1.21.0

Fixed in 1.21.0

Mitigation

Upgrade the affected product to 1.21.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published3 Sep 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.