# smolagents (PyPI) vulnerabilities

6 known vulnerabilities (1 critical, 2 high, 3 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 1.26.0 (May 29, 2026): no advisory affects it
- Newest unaffected release: 1.26.0 (May 29, 2026), the latest release
- Weekly downloads: 152.7K
- Dependents: 111
- Releases: 41 since 0.1.0 (Dec 27, 2024)
- Registry: https://pypi.org/project/smolagents/
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-4963: 0.1.0 to 1.24.0 (1.25.0 is outside it)
- CVE-2026-2654: 0.1.0 to 1.24.0 (1.25.0 is outside it)
- CVE-2025-14931: 0.1.0 to 1.23.0 (1.24.0 is outside it)
- CVE-2025-11844: 0.1.0 to 1.21.3 (1.22.0 is outside it)
- CVE-2025-9959: 0.1.0 to 1.20.0 (1.21.0 is outside it)
- CVE-2025-5120: 0.1.0 to 1.16.1 (1.17.0 is outside it)

## Advisories (6)

### [CVE-2026-4963](https://cve.now/CVE-2026-4963): huggingface smolagents Incomplete Fix CVE-2025-9959 local\_python\_executor.py evaluate\_with code injection

- Severity: Medium 5.3
- Published: Mar 27, 2026
- Affected: through 1.25.0.dev0.
- Fixed in 1.25.0 (released May 14, 2026, 48 days after disclosure), the first release outside every affected range (no listed fixed version clears them all).
- The latest release, 1.26.0, is not affected.

### [CVE-2026-2654](https://cve.now/CVE-2026-2654): huggingface smolagents LocalPythonExecutor requests.post server-side request forgery

- Severity: Medium 5.3
- Published: Feb 18, 2026
- Affected: through 1.24.0.
- Fixed in 1.25.0 (released May 14, 2026, 85 days after disclosure), the first release outside every affected range (no listed fixed version clears them all).
- The latest release, 1.26.0, is not affected.

### [CVE-2025-14931](https://cve.now/CVE-2025-14931): Hugging Face smolagents Remote Python Executor Deserialization of Untrusted Data Remote Code Execution Vulnerability

- Severity: Critical 10.0
- Published: Dec 23, 2025
- Affected: through 1.23.0.
- Fixed in 1.24.0 (released Jan 16, 2026, 24 days after disclosure), the first release outside every affected range (no listed fixed version clears them all).
- The latest release, 1.26.0, is not affected.

### [CVE-2025-11844](https://cve.now/CVE-2025-11844): XPath Injection in Hugging Face Smolagents search\_item\_ctrl\_f Function

- Severity: Medium 5.4
- Published: Oct 22, 2025
- Affected: fixed in 1.22.0.
- Fixed in 1.22.0 (released Sep 25, 2025, 27 days before disclosure).
- The latest release, 1.26.0, is not affected.

### [CVE-2025-9959](https://cve.now/CVE-2025-9959): Sandbox escape in smolagents Local Python execution environment via dunder attributes

- Severity: High 7.6
- Published: Sep 3, 2025
- Affected: fixed in 1.21.0.
- Fixed in 1.21.0 (released Aug 7, 2025, 27 days before disclosure).
- The latest release, 1.26.0, is not affected.

### [CVE-2025-5120](https://cve.now/CVE-2025-5120): Sandbox Escape Vulnerability in huggingface/smolagents

- Severity: High 7.6
- Published: Jul 27, 2025
- Affected: fixed in 1.17.0.
- Fixed in 1.17.0 (released May 27, 2025, 61 days before disclosure).
- The latest release, 1.26.0, is not affected.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/pypi/smolagents
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
