CVE-2026-2654: Huggingface Smolagents

Critical severity, CVSS 9.8. EPSS: 0.6% chance of exploitation in the next 30 days.

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.

Affected products

  • Huggingface Smolagents: from 1.0.0, up to and including 1.24.0

Published 2026-02-18. Last modified 2026-06-17.