Vulnerability · Published Feb 18, 2026 · Assigned by VulDB
CVE-2026-2654huggingface smolagents LocalPythonExecutor requests.post server-side request forgery
Medium 6.3
In plain English
A medium-severity server-side request forgery in smolagents from huggingface. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities).
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | smolagents | no fix listed | GHSA-jxgv-6j54-wwc7 |
| PyPI | smolagents | no fix listed | PYSEC-2026-3067 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| huggingface | smolagents | 1.24.0 |
Weakness: CWE-918 · 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
References
- VDB-346451 | huggingface smolagents LocalPythonExecutor requests.post server-side request forgery vdb-entry, technical-description
- VDB-346451 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #752774 | Hugging Face smolagents 1.24.0 Server-Side Request Forgery third-party-advisory
- https://github.com/CH0ico/CVE_choco_smolagent/tree/main related
- https://github.com/CH0ico/CVE_choco_smolagent/blob/main/report.md#proof-of-concept-execution exploit