CVE-2025-9959 - CVE House
Back to Database
Status published High CVE-2025-9959

Sandbox escape in smolagents Local Python execution environment via dunder attributes

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-9959

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Unknown
Vulnerable Versions:
0

Timeline

Official Publish: September 3rd, 2025
Last Modified: September 3rd, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L

Weaknesses (CWE)