CVE Catalog

CVE-2025-14926

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.34%

26th percentile - higher than 26% of all known CVEs

Summary

Code injection in the convert_config function of Hugging Face Transformers for the SEW model. Lack of validation of a user-supplied string before using it to execute Python code allows remote code execution.

Risk Assessment

An attacker can execute arbitrary code in the context of the current user if the victim converts a malicious checkpoint. User interaction is required, but it can lead to full system compromise.

Recommendation

Update Hugging Face Transformers library to the latest patched version. Avoid converting untrusted checkpoints.

Other vulnerabilities in Hugging Face Transformers

See all
Original NVD description (English source)

Hugging Face Transformers SEW convert_config 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 convert_config 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-28251.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS