---
id: CVE-2026-4963
aliases:
  - GHSA-54fq-v6x8-244g
  - PYSEC-2026-3066
title: Hugging Face Smolagents has an Injection issue
summary: Hugging Face Smolagents has an Injection issue
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L'
vendor: smolagents
product: smolagents
ecosystem: pip
affected:
  - smolagents <= 1.25.0.dev0
published: '2026-03-27'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-54fq-v6x8-244g'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-4963'
  - url: 'https://gist.github.com/YLChen-007/35b7d46e892266a0ed6dbe57802858be'
  - url: 'https://gist.github.com/YLChen-007/7146f45960f79bc1e2976fed526e0a9b'
  - url: 'https://github.com/huggingface/smolagents'
  - url: 'https://vuldb.com/?ctiid.353840'
  - url: 'https://vuldb.com/?id.353840'
  - url: 'https://vuldb.com/?submit.777623'
  - url: 'https://vuldb.com/?submit.777643'
  - url: 'https://vuldb.com/?submit.777644'
tags:
  - osv
  - pip
epss: 0.00732
epssPercentile: 0.52276
ingestedAt: '2026-07-13T18:57:52.965Z'
---

## Overview

A weakness has been identified in huggingface smolagents 1.25.0.dev0. This affects the function evaluate_augassign/evaluate_call/evaluate_with of the file src/smolagents/local_python_executor.py of the component Incomplete Fix CVE-2025-9959. This manipulation causes code injection. It is possible to initiate 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.25.0.dev0`

## Remediation

Refer to the advisory for the patched release.
