# CVE-2026-2654: huggingface smolagents LocalPythonExecutor requests.post server-side request forgery

> CVE-2026-2654: huggingface smolagents LocalPythonExecutor requests.post server-side request forgery. CVSS 6.3 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-2654
Last updated: 2026-06-17T10:31:28Z

- Published: 2026-02-18 13:32 UTC · Updated: 2026-06-17 10:31 UTC · Assigner: VulDB
- CVSS: 6.3 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
- EPSS: 0.43%, 37th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-918

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

## Affected vendors and products

- huggingface: smolagents

## Tracked companies

- [Hugging Face](https://rewindex.com/company/hugging-face.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-2654)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-2654)
- [https://github.com/CH0ico/CVE\_choco\_smolagent/blob/main/report.md\#proof-of-concept-execution](https://github.com/CH0ico/CVE_choco_smolagent/blob/main/report.md#proof-of-concept-execution)
- [https://github.com/CH0ico/CVE\_choco\_smolagent/tree/main](https://github.com/CH0ico/CVE_choco_smolagent/tree/main)
- [https://vuldb.com/?ctiid.346451](https://vuldb.com/?ctiid.346451)
- [https://vuldb.com/?id.346451](https://vuldb.com/?id.346451)
- [https://vuldb.com/?submit.752774](https://vuldb.com/?submit.752774)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-2654 · Markdown: https://rewindex.com/cve/CVE-2026-2654.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-2654 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:16:26.979Z
