---
id: CVE-2026-2654
aliases:
  - GHSA-jxgv-6j54-wwc7
  - PYSEC-2026-3067
title: Hugging Face Smolagents has a Server-Side Request Forgery issue
summary: Hugging Face Smolagents has a Server-Side Request Forgery issue
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
vendor: smolagents
product: smolagents
ecosystem: pip
affected:
  - smolagents <= 1.24.0
published: '2026-02-18'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-jxgv-6j54-wwc7'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-2654'
  - url: >-
      https://github.com/CH0ico/CVE_choco_smolagent/blob/main/report.md#proof-of-concept-execution
  - url: 'https://github.com/CH0ico/CVE_choco_smolagent/tree/main'
  - url: 'https://github.com/huggingface/smolagents'
  - url: 'https://vuldb.com/?ctiid.346451'
  - url: 'https://vuldb.com/?id.346451'
  - url: 'https://vuldb.com/?submit.752774'
tags:
  - osv
  - pip
epss: 0.00554
epssPercentile: 0.43875
ingestedAt: '2026-07-13T18:58:00.172Z'
---

## Overview

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

- `smolagents <= 1.24.0`

## Remediation

Refer to the advisory for the patched release.
