CVE-2025-14926
published high CVSS 3.0 · 7.8Hugging Face Transformers SEW convert_config Code Injection Remote Code Execution Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Hugging Face | — | Transformers4.57.0 · Other versions: unknown | Affected | Not stated | zdi |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- zdi · cna
- Vector string
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Hugging Face | Transformers | 4.57.0 (affected)Default: unknown | zdi · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
1- ZDI-25-1147 https://www.zerodayinitiative.com/advisories/ZDI-25-1147/
Provider assertions
2zdi · cna
Hugging Face Transformers SEW convert_config Code Injection Remote Code Execution Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a7f2b3dd04fd0d5488ce64f8aa67392c4408ef323915621bd79ec8866b2ed4dc
- Ingested
- 23 Sep 2026, 08:38:01 UTC
- Source record
- Official CVE record