CVE-2026-4963CWE-74CWE-94

huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection

Medium · published March 27, 2026

CVSS v4.0
5.3
EPSS
1%
Percentile
53.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.3 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
EPSS
0.00732 · 53.8th percentile
Weaknesses
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'); CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-03-27T17:05Z
EPSS history
Timeline
  • 27 MAR 17:05Z
    huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection
    cvelistv5