CVE-2026-4963 Details
Description
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.
A code injection vulnerability has been identified in Hugging Face Smolagents version 1.25.0.dev0. This issue arises in the Local Python Executor component, specifically within the evaluate_augassign, evaluate_call, and evaluate_with functions. The vulnerability is an incomplete fix for a previous issue (CVE-2025-9959) and allows for remote code execution by exploiting dunder methods that have been improperly validated.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 31, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/YLChen-007/35b7d46e892266a0ed6dbe57802858be | [email protected] | ExploitThird Party Advisory |
| https://gist.github.com/YLChen-007/7146f45960f79bc1e2976fed526e0a9b | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.353840 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.353840 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.777623 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.777643 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.777644 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| huggingface smolagents | 1.25.0 dev0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 30, 2026 | Initial Analysis | [email protected] |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Mar 27, 2026 | CVE Modified | [email protected] |
| Mar 27, 2026 | New CVE Received | [email protected] |