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

Published Mar 27, 2026
·
Updated

A weakness has been identified in huggingface smolagents 1.25.0.dev0. This affects the function evaluateaugassign/evaluatecall/evaluatewith of the file src/smolagents/localpythonexecutor.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 Software

2 affected components
pypi/smolagents=1.25.0.dev0
huggingface smolagents=1.25.0-dev0

Event History

Mar 27, 2026
CVE Published
via MITRE·05:05 PM
Data Sourced
via MITRE·05:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-4963?

CVE-2026-4963 has been classified with a high severity due to the potential for code injection in the vulnerable functions.

2

How do I fix CVE-2026-4963?

To fix CVE-2026-4963, upgrade the huggingface smolagents package to a version that addresses the code injection vulnerability.

3

What versions of huggingface smolagents are affected by CVE-2026-4963?

CVE-2026-4963 affects version 1.25.0.dev0 of the huggingface smolagents package.

4

What specific code functions are vulnerable in CVE-2026-4963?

The vulnerable functions in CVE-2026-4963 are evaluate_augassign, evaluate_call, and evaluate_with in local_python_executor.py.

5

Is CVE-2026-4963 an incomplete fix for another vulnerability?

Yes, CVE-2026-4963 is an incomplete fix for CVE-2025-9959, indicating that the initial mitigation efforts were not sufficient.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203