Skip to content

CVE-2025-14931 Hugging Face smolagents Remote Python Executor Deserialization of Untrusted Data Remote Code Execution Vulnerability

CriticalCVSS 10.0 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

Description

Hugging Face smolagents Remote Python Executor Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face smolagents. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the parsing of pickle data. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-28312.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi smolagents(PyPI) <= 1.23.0; = 0.1.0; = 0.1.2; = 0.1.3 +35 more after 1.23.0 Fixed
Hugging Face smolagents = 1.22.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi smolagents(PyPI) <= 1.23.0 No fix listed
pypi smolagents(PyPI) = 0.1.0 No fix listed
pypi smolagents(PyPI) = 0.1.2 No fix listed
pypi smolagents(PyPI) = 0.1.3 No fix listed
pypi smolagents(PyPI) = 1.0.0 No fix listed
pypi smolagents(PyPI) = 1.1.0 No fix listed
pypi smolagents(PyPI) = 1.10.0 No fix listed
pypi smolagents(PyPI) = 1.11.0 No fix listed
pypi smolagents(PyPI) = 1.12.0 No fix listed
pypi smolagents(PyPI) = 1.13.0 No fix listed
pypi smolagents(PyPI) = 1.14.0 No fix listed
pypi smolagents(PyPI) = 1.15.0 No fix listed
pypi smolagents(PyPI) = 1.16.0 No fix listed
pypi smolagents(PyPI) = 1.16.1 No fix listed
pypi smolagents(PyPI) = 1.17.0 No fix listed
pypi smolagents(PyPI) = 1.18.0 No fix listed
pypi smolagents(PyPI) = 1.19.0 No fix listed
pypi smolagents(PyPI) = 1.2.0 No fix listed
pypi smolagents(PyPI) = 1.2.1 No fix listed
pypi smolagents(PyPI) = 1.2.2 No fix listed
pypi smolagents(PyPI) = 1.20.0 No fix listed
pypi smolagents(PyPI) = 1.21.0 No fix listed
pypi smolagents(PyPI) = 1.21.1 No fix listed
pypi smolagents(PyPI) = 1.21.2 No fix listed
pypi smolagents(PyPI) = 1.21.3 No fix listed
Show 15 more
ProductAffected versionsFixed in
pypi smolagents(PyPI) = 1.22.0 No fix listed
pypi smolagents(PyPI) = 1.23.0 No fix listed
pypi smolagents(PyPI) = 1.3.0 No fix listed
pypi smolagents(PyPI) = 1.4.0 No fix listed
pypi smolagents(PyPI) = 1.4.1 No fix listed
pypi smolagents(PyPI) = 1.5.0 No fix listed
pypi smolagents(PyPI) = 1.5.1 No fix listed
pypi smolagents(PyPI) = 1.6.0 No fix listed
pypi smolagents(PyPI) = 1.7.0 No fix listed
pypi smolagents(PyPI) = 1.8.0 No fix listed
pypi smolagents(PyPI) = 1.8.1 No fix listed
pypi smolagents(PyPI) = 1.9.0 No fix listed
pypi smolagents(PyPI) = 1.9.1 No fix listed
pypi smolagents(PyPI) = 1.9.2 No fix listed
Hugging Face smolagents = 1.22.0 No fix listed

References