smolagents
5 published advisories; version 1.22.0 or later fixes all but 3 of them.
- Registry
- PyPI
- Advisories
- 5
- Latest fix
- 1.22.0
- Exploited in the wild
- None listed
3 advisories have no fixed release in any version yet. What can be done meanwhile:
General guidance from ShieldPi, not a vendor fix
- Command or code injection. Remove or disable the affected server or tool, or run it in a sandbox with no secrets in its environment.GHSA-q9r5-6hrr-9ph7
- Server-side request forgery. Restrict its outbound network access to the hosts it needs, and keep internal addresses and cloud metadata endpoints out of its reach.GHSA-jxgv-6j54-wwc7
- Unsafe deserialization. Do not let it load files, models or data from sources you do not trust, and keep its RPC and socket ports reachable only from localhost or hosts you trust.GHSA-q9r5-6hrr-9ph7
Check your machine
Finds smolagents in your agent and MCP configs, installed skills, global npm packages, the npx and uvx caches, uv and pipx tools, Claude Code and Cursor. It runs offline and sends nothing anywhere.
pip install "shieldpi>=0.10.0"
shieldpi agent-config . --installed0 of the last 10 releases of smolagents were published with build provenance: a signed record of the repository and commit each was built from, which the registry checks before it accepts the release.
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.3
- 1.21.2
- 1.21.1
- 1.21.0
- 1.20.0
Green: published with provenance. Grey: without.
OpenSSF Scorecard has not scored this package's repository.
Provenance from deps.dev (CC BY 4.0); Scorecard from OpenSSF (CDLA-Permissive-2.0). As of 2026-11-18.
| Advisory | Severity | Affected | Fixed in | Published |
|---|---|---|---|---|
| Hugging Face Smolagents has an Injection issueCVE-2026-4963 | Low | <= 1.25.0.dev0 | No fix yet | 2026-03-27 |
| Hugging Face Smolagents has a Server-Side Request Forgery issueCVE-2026-2654 | Low | <= 1.24.0 | No fix yet | 2026-02-18 |
| Hugging Face smolagents: Unsafe deserialization in Remote Python Executor leads to RCECVE-2025-14931 | Critical | <= 1.23.0 | No fix yet | 2025-12-23 |
| Hugging Face Smolagents XPath injection vulnerability in the search_item_ctrl_f functionCVE-2025-11844 | Medium | < 1.22.0 | 1.22.0 | 2025-10-22 |
| smolagents has Sandbox Escape Vulnerability in the local_python_executor.py ModuleCVE-2025-5120 | Critical | < 1.17.0 | 1.17.0 | 2025-07-27 |
Sources: GitHub Advisory Database, reviewed and malware advisories (CC BY 4.0, https://github.com/advisories); advisories published by Cursor (https://github.com/cursor/cursor/security/advisories); advisories published by OpenClaw (https://github.com/openclaw/openclaw/security/advisories); advisories published by vLLM (https://github.com/vllm-project/vllm/security/advisories); advisories published by Open WebUI (https://github.com/open-webui/open-webui/security/advisories); advisories published by n8n (https://github.com/n8n-io/n8n/security/advisories); advisories published by Flowise (https://github.com/FlowiseAI/Flowise/security/advisories); advisories published by Langflow (https://github.com/langflow-ai/langflow/security/advisories); advisories published by the MCP Python SDK project (https://github.com/modelcontextprotocol/python-sdk/security/advisories); advisories published by MLflow (https://github.com/mlflow/mlflow/security/advisories); CISA Known Exploited Vulnerabilities catalog (CC0). Data as of 2026-11-22. ShieldMap describes how each problem works and how to fix it; it does not publish exploit code. Report a correction to [email protected].