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.
https://research.jfrog.com/vulnerabilities/smolagents-local-python-sandbox-escape-jfsa-2025-001434277/
https://github.com/huggingface/smolagents/pull/1551
Source: Mitre, NVD
Published: 2025-09-03
Updated: 2025-09-04
Base Score: 9
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:C/A:P
Severity: High
Base Score: 7.6
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L
EPSS: 0.00039