SSRF in Huggingface Smolagents

CVE-2026-2654

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.

Vulnerability class: SSRF (Server-Side Request Forgery)

EPSS: 0.004 (31.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

References

  • cna@vuldb.com (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
  • cna@vuldb.com (signature, permissions-required, VDB Entry, Third Party Advisory)
  • cna@vuldb.com (VDB Entry, Third Party Advisory, third-party-advisory)
  • cna@vuldb.com (related, Third Party Advisory)
  • cna@vuldb.com (Exploit, Third Party Advisory, exploit)

Frequently asked questions

What is CVE-2026-2654?
CVE-2026-2654 is a medium-severity vulnerability in Huggingface Smolagents, classified under Server-Side Request Forgery (SSRF). CVSS score: 6.3/10. Published 2026-02-18.
How severe is CVE-2026-2654?
Medium severity. CVSS v3 base score is 6.3 out of 10.