10.0critical
Hugging Face smolagents Remote Python Executor Deserialization of Untrusted Data Remote Code Execution Vulnerability
- Severity
- 10.0critical CVSS:3.0 by zdi
- Exploit likelihood
- 1.53% (higher than 75% of CVEs)
- Published
- Last changed
- Assigned by
- zdi
- Also known as
- GHSA-q9r5-6hrr-9ph7PYSEC-2026-543
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Hugging Face smolagents | 1.22.0 | CVE List |
| smolagents (PyPI) | up to 1.23.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| zdi | 10.0critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 10.0critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| PyPA Advisory Database | 10.0critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
Vulnerabilidad de ejecución remota de código por deserialización de datos no confiables en el Ejecutor remoto de Python de Hugging Face smolagents. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en instalaciones afectadas de Hugging Face smolagents. No se requiere autenticación para explotar esta vulnerabilidad.\n\nEl fallo específico existe dentro del análisis de datos pickle. El problema se debe a la falta de validación adecuada de los datos suministrados por el usuario, lo que puede provocar la deserialización de datos no confiables. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de la cuenta de servicio. Fue ZDI-CAN-28312.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-14931 changed 2025-12-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q9r5-6hrr-9ph7 changed 2026-06-29 | CC-BY-4.0 |
| NVD | CVE-2025-14931 changed 2026-10-19 | Public domain |
| PyPA Advisory Database | PYSEC-2026-543 changed 2026-07-01 | CC-BY-4.0 |