smolagents is vulnerable to Remote Code Execution (RCE)
75
CVE Score
High
Remote Code Execution (RCE)
Affected versions are vulnerable to arbitrary code execution through improper restrictions on the use of dunder (double underscore) methods in the local_python_executor. Malicious users could exploit access to unsafe dunder methods (e.g., __subclasses__, __getattribute__) to bypass sandbox restrictions, perform introspection, or execute unauthorized code. The patch mitigates this by explicitly blocking the use of non-whitelisted dunder methods.
Upgrade the smolagents library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 1.20.0
Fixed in 1.21.0smolagents is vulnerable to Remote Code Execution (RCE) in versions 0.0.1 - 1.20.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.