CVE-2026-2654: huggingface smolagents LocalPythonExecutor requests.post server-side request forgery
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.
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 · CWE-918
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
huggingface: smolagents
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/CH0ico/CVE_choco_smolagent/blob/main/report.md (opens in new tab)
- github.com/CH0ico/CVE_choco_smolagent/tree/main (opens in new tab)
- vuldb.com (opens in new tab)
- vuldb.com (opens in new tab)
- vuldb.com (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)