# CVE-2024-11393: Hugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability

> CVE-2024-11393: Hugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. CVSS 8.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2024-11393
Last updated: 2026-06-17T06:57:40Z

- Published: 2024-11-22 21:23 UTC · Updated: 2026-06-17 06:57 UTC · Assigner: zdi
- CVSS: 8.8 (CVSS 3.1) · Severity: High · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 3.1%, 88th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-502

## Description

Hugging Face Transformers MaskFormer 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 parsing 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-25191.

## Affected vendors and products

- Hugging Face: Transformers

## Tracked companies

- [Hugging Face](https://rewindex.com/company/hugging-face.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2024-11393)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2024-11393)
- [https://www.zerodayinitiative.com/advisories/ZDI-24-1514/](https://www.zerodayinitiative.com/advisories/ZDI-24-1514/)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2024-11393 · Markdown: https://rewindex.com/cve/CVE-2024-11393.md · JSON: https://rewindex.com/api/v1/cves/CVE-2024-11393 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:16:25.504Z
