Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. smolagents
  4. ›
  5. CVE-2026-2654

CVE-2026-2654: Hugging Face Smolagents has a Server-Side Request Forgery issue

February 18, 2026 (updated May 7, 2026)

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.

References

  • github.com/CH0ico/CVE_choco_smolagent/blob/main/report.md
  • github.com/CH0ico/CVE_choco_smolagent/tree/main
  • github.com/advisories/GHSA-jxgv-6j54-wwc7
  • github.com/huggingface/smolagents
  • nvd.nist.gov/vuln/detail/CVE-2026-2654
  • vuldb.com/?ctiid.346451
  • vuldb.com/?id.346451
  • vuldb.com/?submit.752774

Code Behaviors & Features

Detect and mitigate CVE-2026-2654 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.24.0

Solution

Unfortunately, there is no solution available yet.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

pypi/smolagents/CVE-2026-2654.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:41 +0000.