# CVE-2025-14926: Hugging Face Transformers SEW convert_config Code Injection Remote Code Execution Vulnerability

- Severity: High 7.8 (CVSS:3.0, scored by zdi) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2025-12-23T21:04:32.162Z
- Modified: 2026-10-19T22:10:00.130Z
- Also known as: PYSEC-2025-214
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Hugging Face Transformers: 4.57.0
- huggingface transformers: 4.57.0
- transformers (PyPI): up to 4.57.0

## Every score

- zdi: CVSS:3.0 7.8 High `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.0 7.8 High `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-25-1147/> (advisory, third-party-advisory)

## Sources

- CVE List: [CVE-2025-14926](https://www.cve.org/CVERecord?id=CVE-2025-14926), CVE Terms of Use, modified 2025-12-24
- NVD: [CVE-2025-14926](https://nvd.nist.gov/vuln/detail/CVE-2025-14926), Public domain, modified 2026-10-19
- PyPA Advisory Database: [PYSEC-2025-214](https://osv.dev/vulnerability/PYSEC-2025-214), CC-BY-4.0, modified 2026-05-21

---

Page: https://cve.day/CVE-2025-14926 · Whole record: https://cve.day/CVE-2025-14926.json · Rebuilt by cve.day 2026-11-25T22:59:09.822Z
