Code Injection Vulnerability in Hugging Face Transformers by Hugging Face
CVE-2025-14927
7.8HIGH
What is CVE-2025-14927?
A code injection vulnerability in the convert_config function of Hugging Face Transformers enables remote attackers to execute arbitrary code. This risk arises when a user unknowingly converts a malicious checkpoint, ultimately executing user-supplied strings without proper validation. Attackers can exploit this vulnerability within the context of the current user, making it crucial for users to be cautious and ensure they apply all security updates.
Affected Version(s)
Transformers 4.57.0
