ZDI-26-523: Hugging Face PyTorch Image Models checkpoint Deserialization of Untrusted Data Remote Code Execution Vulnerability
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face PyTorch Image Models. 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 checkpoints. 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 process.
Other sources
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face PyTorch Image Models. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2026-15679.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-26-523?
The severity of ZDI-26-523 is rated at 79 on the CVSS scale.
How do I fix ZDI-26-523?
To fix ZDI-26-523, update to the latest versions of Hugging Face PyTorch Image Models libraries that contain the patch for this vulnerability.
What type of vulnerability is ZDI-26-523?
ZDI-26-523 is a remote code execution vulnerability due to the deserialization of untrusted data.
What software is affected by ZDI-26-523?
The affected software for ZDI-26-523 includes Hugging Face PyTorch Image Models, transformers, torchvision, and torch.
Is user interaction required to exploit ZDI-26-523?
Yes, user interaction is necessary to exploit ZDI-26-523 as the target must visit a malicious page or open a malicious file.