BreachSpiderVerified, not vibes

CVE-2026-2654 in Huggingface Smolagents

Critical 9.8

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 ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
CVSS v42.1
EPSS0.7%
EPSS percentile46th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Huggingface Smolagents ≥ 1.0.0, ≤ 1.24.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-2654
BreachSpider IDBS-2026-GLOBAL-079083-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2026-02-18
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-918: Server-Side Request Forgery (SSRF)

Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.

Related attack patterns (CAPEC)

CAPEC-664 Server Side Request Forgery via CWE-918

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A server-side request forgery (SSRF) vulnerability has been identified in huggingface smolagents version 1.24.0, affecting the LocalPythonExecutor component through the requests.get/requests.post functions. This vulnerability could allow an attacker to perform SSRF attacks remotely, potentially leading to unauthorized access to internal systems.

The vulnerability arises from improper validation of URLs passed to the requests.get/requests.post functions within the LocalPythonExecutor component. An attacker can exploit this by manipulating the URL parameter to make requests to internal or external servers, bypassing intended access controls.

Questions

What is CVE-2026-2654?

A server-side request forgery (SSRF) vulnerability has been identified in huggingface smolagents version 1.24.0, affecting the LocalPythonExecutor component through the requests.get/requests.post functions. This vulnerability could allow an attacker to perform SSRF attacks remotely, potentially leading to unauthorized access to internal systems.

What is the CVSS score for CVE-2026-2654?

CVE-2026-2654 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.7%.

Is CVE-2026-2654 actively exploited?

No confirmed active exploitation of CVE-2026-2654 as of 2026-09-25.

How do I remediate CVE-2026-2654?

Priority: IMMEDIATE.

What systems are affected by CVE-2026-2654?

CVE-2026-2654 affects Huggingface Smolagents.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Huggingface","product":"Smolagents","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.