Code Injection Vulnerability in Hugging Face Transformers
CVE-2025-14926
7.8HIGH
What is CVE-2025-14926?
This vulnerability in the Hugging Face Transformers software arises from insufficient validation of user-provided input within the convert_config function. By exploiting this flaw, an attacker can inject arbitrary Python code by offering a malicious checkpoint for conversion. The execution of this unauthorized code occurs in the context of the user who performs the conversion, posing substantial risks to system security.
Affected Version(s)
Transformers 4.57.0
