VDB
Sign up
MEDIUM6.3

PYSEC-2026-3066

Hugging Face Smolagents has an Injection issue

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/smolagents
Introduced in: 0

No fixed version published yet for smolagents (pip). Pin to a known-safe version or switch to an alternative.

References