Local Python Execution Environment Vulnerability in Smolagents by Hugging Face
CVE-2025-9959
7.6HIGH
What is CVE-2025-9959?
A vulnerability in Smolagents allows attackers to exploit incomplete validation of dunder attributes, leading to a potential escape from the local Python execution environment sandbox. This escape route depends on executing a Prompt Injection attack, wherein an attacker can trick the agent into generating and executing malicious code. Such vulnerabilities can compromise the security integrity of systems utilizing this product, requiring immediate attention and remediation through the latest patch.