CVE-2025-9959

HIGHCVSS 7.6/10EPSS 0.29%

Last modified

CVE-2025-9959 is a high-severity vulnerability rated 7.6/10 on the CVSS scale. 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.. EPSS estimates a 0.29% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.6/10

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

EPSS Probability
0.29%

20.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2025-9959?
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.
How severe is CVE-2025-9959?
CVE-2025-9959 has a CVSS score of 7.6/10 (HIGH severity). The EPSS model estimates a 0.29% probability of exploitation in the next 30 days.
How do I fix CVE-2025-9959?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2025-9959?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST