ZDI-CAN-27985: ZDI-25-1140: (0Day) Hugging Face Accelerate Deserialization of Untrusted Data Remote Code Execution Vulnerability
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Accelerate. 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 Accelerate. 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-2025-14925.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-27985?
ZDI-CAN-27985 is considered a high severity vulnerability due to its potential for remote code execution.
How do I fix ZDI-CAN-27985?
To fix ZDI-CAN-27985, ensure you update to the latest version of Hugging Face Accelerate which includes a patch for this vulnerability.
Who is affected by ZDI-CAN-27985?
Users of Hugging Face Accelerate are affected by ZDI-CAN-27985 if they interact with malicious content.
What type of vulnerability is ZDI-CAN-27985?
ZDI-CAN-27985 is a remote code execution vulnerability that requires user interaction to exploit.
What are the implications of ZDI-CAN-27985?
The implications of ZDI-CAN-27985 include unauthorized execution of arbitrary code on affected systems, which can lead to further compromise.