Skip to main content

Hugging Face CVE-2026-4963

| EUVDEUVD-2026-16726 LOW
Code Injection (CWE-94)
2026-03-27 VulDB GHSA-54fq-v6x8-244g
2.1
CVSS 4.0 · Vendor: VulDB
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS 5.3 (Medium) with network-accessible attack vector (AV:N), low attack complexity (AC:L), and no privileges required (PR:N) indicates a straightforward remote exploitation path. However, the presence of user interaction (UI:P) moderates impact scope to low confidentiality, integrity, and availability effects (VC:L, VI:L, VA:L). Exploitation probability is marked as Proof-of-Concept (E:P), elevated by public exploit code availability on GitHub. Real-world risk is elevated beyond the CVSS score due to: (1) confirmed public exploit availability reducing barrier to attack, (2) lack of vendor response indicating no coordinated patch timeline, (3) presence of user interaction requirement suggesting social engineering or insider attack vectors, and (4) incomplete prior remediation suggesting architectural code injection susceptibility. This is NOT a high-CVSS-low-real-risk scenario; the combination of accessible exploits, unresponsive vendor, and network-accessible code execution creates moderate-to-high operational risk for organizations deploying this library in user-facing applications.

Exploit ScenarioDerived

An attacker without authentication submits a specially crafted input to a web application using smolagents that triggers the evaluate_call or evaluate_augassign function. The malicious input bypasses insufficient sanitization checks (the incomplete fix for CVE-2025-9959) and causes arbitrary Python code execution within the application's runtime context. If the application requires minimal user interaction to process such inputs-such as through an API endpoint that accepts JSON expressions or a chatbot interface that evaluates user queries-the attacker can read sensitive data, modify application state, or pivot to the host system. Public exploit code is available on GitHub (https://gist.github.com/YLChen-007/35b7d46e892266a0ed6dbe57802858be), lowering the skill barrier for attack execution.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 27, 2026

Code injection in HuggingFace smolagents 1.25.0.dev0 allows remote attackers without authentication to execute arbitrary code through incomplete remediation of CVE-2025-9959 in the local Python executor component. The vulnerability affects the evaluate_augassign, evaluate_call, and evaluate_with functions in src/smolagents/local_python_executor.py, with publicly available exploit code and active public disclosure despite lack of vendor response.

RemediationAI

No vendor-released patch has been confirmed at time of analysis, as HuggingFace did not respond to early disclosure. Immediate remediation requires upgrading to a patched version once available; monitor HuggingFace repositories and security advisories at https://github.com/huggingface/smolagents for release announcements. Until a vendor patch is released, apply compensating controls: restrict network access to smolagents instances to trusted internal networks only, disable or sandbox the local Python executor component if not essential to application functionality, implement input validation and filtering on all user-supplied data passed to evaluate_augassign/evaluate_call/evaluate_with functions to block common code injection patterns, and enforce code review processes for any custom extensions to the executor. Consider temporarily migrating critical workloads to alternative agent frameworks without code injection vulnerabilities until patched versions are available.

Affected VersionsENISA

smolagents 1.25.0.dev0

Affected Packages

pypi smolagents no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

HuggingFace smolagents is a Python agent framework that includes a local Python code executor for evaluating expressions and function calls. The vulnerability resides in CWE-94 (Improper Control of Generation of Code, 'Code Injection'), specifically within the Python executor's expression evaluation logic. The affected functions process user-supplied input that is inadequately sanitized before execution in a Python runtime context. This represents an incomplete fix to CVE-2025-9959, indicating that initial patching efforts failed to fully eliminate the code injection pathway. The CPE affected is cpe:2.3:a:huggingface:smolagents:*:*:*:*:*:*:*:* across affected versions in the 1.25.0 development line.

Know when Hugging Face gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.1 LOW
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

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:11 NVD
5.3 (MEDIUM) 2.1 (LOW)
PoC Detected
Mar 30, 2026 - 13:26 vuln.today
Public exploit code
CVE Published
Mar 27, 2026 - 17:05 nvd
MEDIUM 5.3

DescriptionCVE.org

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. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Executive ViewAI

Why It Matters

Organizations using A weakness should be aware of moderate risk from CVE-2026-4963, a code injection vulnerability rated CVSS 5.3. Exploitation could allow attackers to execute code or inject malicious input. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: deploy WAF rules, restrict network access, enable logging.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2024-3568 CRITICAL POC
9.6 Apr 10

The huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data

CVE-2026-25874 CRITICAL POC
9.3 Apr 23

Unauthenticated remote code execution in HuggingFace LeRobot (versions 0 through 0.5.1) stems from pickle.loads() being

CVE-2026-33625 HIGH POC
8.8 Sep 18

Arbitrary Python code execution in LMDeploy 0.12.1 through 0.12.2 lets an attacker who publishes a malicious model on Hu

CVE-2026-57845 HIGH POC
8.7 Oct 23

Deserialization of attacker-supplied pickle data in the deprecated pandas packaged builder of Hugging Face Datasets (all

CVE-2023-6730 HIGH POC
8.8 Dec 19

Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36. Rated high severity (CVSS

CVE-2023-7018 HIGH POC
7.8 Dec 20

Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36. Rated high severity (CVSS

CVE-2025-3262 HIGH POC
7.5 Jul 07

A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the huggingface/transformers repository,

CVE-2025-6921 HIGH POC
7.5 Sep 23

The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (R

CVE-2026-66007 MEDIUM POC
6.9 Jul 24

Path traversal in Hugging Face Datasets up to 5.0.0 allows attackers to read arbitrary local files when a victim process

CVE-2026-63086 MEDIUM POC
6.9 Jul 16

Server-side request forgery in HuggingFace text-generation-inference through version 3.3.7 enables unauthenticated remot

CVE-2026-69112 MEDIUM POC
6.9 Aug 10

Path traversal in Hugging Face Accelerate through 1.14.0 exposes two distinct attack outcomes when a user loads a crafte

CVE-2025-1194 MEDIUM POC
6.5 Apr 29

A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, spe

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy