Free AI Safety Workshop — in collaboration with explainx.aiSave your seat
AgentbeamBeta
AI agent vulnerability · smolagents

CVE-2026-2654: Hugging Face Smolagents has a Server-Side Request Forgery issue

lowCVSS 4.0 2.1 · 3.1 6.3GHSA-jxgv-6j54-wwc7

A weakness has been identified in huggingface smolagents 1.24.0. Impacted is the function requests.get/requests.post of the component LocalPythonExecutor. Executing a manipulation can lead to server-side request forgery. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used for attacks.

Published Feb 18, 2026 · Updated May 7, 2026

Affected packages

smolagents

Ecosystem
PyPI
Affected
<= 1.24.0
Fixed in
No patched version yet
Check
pip show smolagents

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

A weakness has been identified in huggingface smolagents 1.24.0. Impacted is the function requests.get/requests.post of the component LocalPythonExecutor. Executing a manipulation can lead to server-side request forgery. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More smolagents vulnerabilities

All smolagents entries