CVE-2025-14931Hugging Face smolagents
Critical 10.0 No auth needed
Follow: this CVE · Hugging Face · Hugging Face smolagents We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.0
- 10.0
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- Dec 23, 2025
- Updated
- Oct 19, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for smolagents.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | smolagents |
≤ 1.23.0 |
no fixed version | — |
| PyPI | smolagents |
≤ 1.23.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-q9r5-6hrr-9ph7, PYSEC-2026-543). Check the version in your lockfile before upgrading.
Affected products
- Hugging Face · smolagents
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.