8.8high
Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability
- Severity
- 8.8high CVSS:3.0 by zdi
- Exploit likelihood
- 2.79% (higher than 86% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- zdi
- Also known as
- GHSA-hxxf-235m-72v3PYSEC-2024-229
Description
Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handling of model files. 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 current user. Was ZDI-CAN-25012.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Hugging Face Transformers | 026a173a64372e9602a16523b8fae9de4b0ff428 | CVE List |
| transformers (PyPI) | before 4.48.0 | GitHub Advisory Database, PyPA Advisory Database |
| huggingface transformers | before 4.48.0 | NVD |
All scores
| zdi | 8.8high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handling of model files. 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 current user. Was ZDI-CAN-25012.
NVD (es)
Vulnerabilidad de ejecución remota de código de datos no confiables en Hugging Face Transformers Trax Model. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en las instalaciones afectadas de Hugging Face Transformers. Se requiere la interacción del usuario para explotar esta vulnerabilidad, ya que el objetivo debe visitar una página maliciosa o abrir un archivo malicioso. La falla específica existe en el manejo de archivos de modelo. El problema es el resultado de la falta de una validación adecuada de los datos proporcionados 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 del usuario actual. Era ZDI-CAN-25012.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-11394 changed 2024-12-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hxxf-235m-72v3 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-11394 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2024-229 changed 2026-06-10 | CC-BY-4.0 |