INCIDENT MAP

Browse / Tool and Agent Misuse / CVE-2026-2654

Hugging Face Smolagents has a Server-Side Request Forgery issue

CVE-2026-2654 ยท 2026-02-18 low

Class
Tool and Agent Misuse (filed by a model that read the advisory)
Technique
Server-side request forgery
Affected
smolagents (PyPI)
CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS
0.4% chance of exploitation in 30 days

How it works, in short

Code the agent executes in its local Python executor can call requests.get and requests.post against arbitrary internal URLs. (Our summary, written by a model. The source text is below.)

Details

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

Source: GitHub Advisory Database, used under CC BY 4.0.