PyPI (Python)Worst: Critical5 advisories

smolagents: known vulnerabilities

smolagents has 5 reviewed security advisories in the GitHub Advisory Database — 2 critical, 1 moderate, 2 low. The most recent was published 2026-03-27. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the smolagents versions running across your servers, containers and images, and ranks what to patch first.

How to fix smolagents

Upgrade smolagents to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade smolagents (pin smolagents>=1.22.0)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (5)

Hugging Face Smolagents has an Injection issue Low 6.3 CWE-74 — Affected: up to and including 1.25.0.dev0. No fixed release is listed. Published 2026-03-27. GHSA-54fq-v6x8-244g · CVE-2026-4963
Hugging Face Smolagents has a Server-Side Request Forgery issue Low 6.3 CWE-918 — Affected: up to and including 1.24.0. No fixed release is listed. Published 2026-02-18. GHSA-jxgv-6j54-wwc7 · CVE-2026-2654
Hugging Face smolagents: Unsafe deserialization in Remote Python Executor leads to RCE Critical 10.0 CWE-502 — Affected: up to and including 1.23.0. No fixed release is listed. Published 2025-12-23. GHSA-q9r5-6hrr-9ph7 · CVE-2025-14931
Hugging Face Smolagents XPath injection vulnerability in the search_item_ctrl_f function Moderate 5.4 CWE-643 — Affected: before 1.22.0. Fixed in 1.22.0. Published 2025-10-22. GHSA-8mf9-rmgw-33qc · CVE-2025-11844
smolagents has Sandbox Escape Vulnerability in the local_python_executor.py Module Critical 9.9 CWE-94 — Affected: before 1.17.0. Fixed in 1.17.0. Published 2025-07-27. GHSA-6v92-r5mx-h5fx · CVE-2025-5120

Find smolagents across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.