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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | smolagents | < 1.21.0 | 1.21.0 |