CVE-2025-9959

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.003 (21.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L.

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-9959?
CVE-2025-9959 is a high-severity vulnerability, classified under Code Injection. CVSS score: 7.6/10. Published 2025-09-03.
How severe is CVE-2025-9959?
High severity. CVSS v3 base score is 7.6 out of 10.