Skip to content
HighVulnerability

CVE-2025-14927: Hugging Face Transformers code injection in SEW-D convert_config

Identifier
CVE-2025-14927
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%

Summary

CVE-2025-14927 is a code injection flaw in the convert_config function of Hugging Face Transformers, in the SEW-D conversion path. The function does not validate a user-supplied string before executing it as Python code. A remote attacker can run arbitrary code in the context of the current user, but only if the target converts a malicious checkpoint.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.