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

Published Feb 18, 2026
·
Updated

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 Software

2 affected components
pypi/huggingface/smolagents
huggingface smolagents>=1.0.0<=1.24.0

Event History

Feb 18, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeaknessAffected Software
Aug 2, 58120
Event
via FIRST·12:01 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-2654?

CVE-2026-2654 has been classified as having a medium severity due to the potential for server-side request forgery.

2

What software versions are affected by CVE-2026-2654?

CVE-2026-2654 affects versions of huggingface smolagents from 1.0.0 up to, but not including, 1.24.0.

3

How do I fix CVE-2026-2654?

To fix CVE-2026-2654, update your huggingface smolagents library to version 1.24.0 or higher.

4

What is the impact of CVE-2026-2654?

The impact of CVE-2026-2654 allows attackers to exploit server-side request forgery vulnerabilities through manipulated requests.

5

Which component is vulnerable in CVE-2026-2654?

The vulnerable component in CVE-2026-2654 is the function requests.get/requests.post of the LocalPythonExecutor.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203