UTC

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
Advisories with no fix yet

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 . --installed
Provenance

0 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.

Advisories
AdvisorySeverityAffectedFixed inPublished
Hugging Face Smolagents has an Injection issueCVE-2026-4963Low<= 1.25.0.dev0No fix yet2026-03-27
Hugging Face Smolagents has a Server-Side Request Forgery issueCVE-2026-2654Low<= 1.24.0No fix yet2026-02-18
Hugging Face smolagents: Unsafe deserialization in Remote Python Executor leads to RCECVE-2025-14931Critical<= 1.23.0No fix yet2025-12-23
Hugging Face Smolagents XPath injection vulnerability in the search_item_ctrl_f functionCVE-2025-11844Medium< 1.22.01.22.02025-10-22
smolagents has Sandbox Escape Vulnerability in the local_python_executor.py ModuleCVE-2025-5120Critical< 1.17.01.17.02025-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].