CVE-2026-2654
huggingface smolagents LocalPythonExecutor requests.post server-side request forgery
- State
- Published
- Severity
- 5.3 Medium
- Published
- Feb 18, 2026
- Updated
- Feb 23, 2026
- Reserved
- Feb 18, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 6.3 Medium | 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 | VulDB |
| 3.0 | 6.3 Medium | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 2.0 | 6.5 Medium | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Weaknesses
- CWE-918 Server-Side Request Forgery
Affected Products
| Product | Versions |
|---|---|
smolagentshuggingface |
|
References
- VDB-346451 | huggingface smolagents LocalPythonExecutor requests.post server-side request forgeryvdb-entrytechnical-description
- VDB-346451 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #752774 | Hugging Face smolagents 1.24.0 Server-Side Request Forgerythird-party-advisory
- https://github.com/CH0ico/CVE_choco_smolagent/tree/mainrelated
- https://github.com/CH0ico/CVE_choco_smolagent/blob/main/report.md#proof-of-concept-executionexploit
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.