CVE-2025-14927: (0Day) Hugging Face Transformers SEW-D convert_config Code Injection Remote Code Execution Vulnerability
Hugging Face Transformers SEW-D convertconfig Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must convert a malicious checkpoint.
The specific flaw exists within the convertconfig function. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of the current user.
. Was ZDI-CAN-28252.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-14927?
CVE-2025-14927 is considered a high-severity vulnerability due to its potential for remote code execution.
How do I fix CVE-2025-14927?
To fix CVE-2025-14927, it is recommended to update to the latest version of Hugging Face Transformers as per the vendor's advice.
Who is affected by CVE-2025-14927?
Users of Hugging Face Transformers, particularly those using the SEW-D convert_config feature, are affected by CVE-2025-14927.
What type of vulnerability is CVE-2025-14927?
CVE-2025-14927 is classified as a code injection vulnerability that allows for remote code execution.
Is user interaction required to exploit CVE-2025-14927?
Yes, user interaction is required to exploit CVE-2025-14927, making it an important consideration for users of affected versions.