CVE-2025-14928: Hugging Face Transformers · Code Injection
Affects Hugging Face TransformersSource CVE Database V5
Not known to be exploited · CVSS 7.8 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 23 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPItransformerspkg:pypi/transformersOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-14928, European organizations should immediately audit their use of Hugging Face Transformers, particularly version 4.57.0, and avoid converting checkpoint files from untrusted or unauthenticated sources. Until an official patch is released, implement strict input validation and sanitization on any user-supplied data involved in model configuration conversions. Employ sandboxing or containerization techniques to isolate the conversion process, limiting the potential damage from arbitrary code execution. Monitor and restrict permissions of users and services performing model conversions to minimize privilege escalation risks. Incorporate security reviews into AI/ML pipeline workflows and educate developers and data scientists about the risks of processing untrusted model files. Stay alert for official patches or updates from Hugging Face and apply them promptly. Additionally, implement network segmentation and endpoint detection to identify suspicious activities related to model conversion processes.
Description
Hugging Face Transformers HuBERT 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-28253.