CVE-2025-9959 – Smolagents Python Sandbox Escalation Vulnerability

The following table lists the changes that have been made to the
CVE-2025-9959 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution
of a vulnerability, and for identifying the most recent changes that may
impact the vulnerability’s severity, exploitability, or other characteristics.

  • New CVE Received
    by [email protected]

    Sep. 03, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L
    Added CWE CWE-94
    Added Reference https://github.com/huggingface/smolagents/pull/1551
    Added Reference https://research.jfrog.com/vulnerabilities/smolagents-local-python-sandbox-escape-jfsa-2025-001434277/
Share the Post:

Related Posts