Hugging Face Diffusers Remote Code Execution Vulnerability via Deserialization of Untrusted Data

Vulnerability

A remote code execution vulnerability has been identified in Hugging Face Diffusers, specifically within the CogView4 model. This issue arises from improper validation of user-supplied data during the parsing of checkpoints, allowing for the deserialization of untrusted data. As a result, remote attackers can execute arbitrary code on affected installations. Exploitation of this vulnerability requires user interaction, such as visiting a malicious page or opening a harmful file.

Impact

Exploitation of this vulnerability allows for arbitrary code execution on the affected system, with the executed code running in the context of the current process.

Remediation

Due to the nature of this vulnerability, the primary mitigation strategy is to limit interactions with the product.

Added: Dec 23, 2025, 9:25 PM
Updated: Dec 23, 2025, 9:25 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
10.0
exploitability
6.4
remediation
0.0
relevance
1.7
threat
0.0
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.