Hugging Face Transformers Deserialization Vulnerability Leading to Remote Code Execution

Vulnerability

A remote code execution vulnerability has been identified in Hugging Face Transformers, specifically within the X-CLIP checkpoint conversion process. This issue arises from improper validation of user-supplied data, 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, executed in the context of the current process.

Remediation

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

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

Vulnerability Rating

Custom Algorithm
spread
6.6
impact
10.0
exploitability
4.4
remediation
7.9
relevance
1.6
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.