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

> CVE-2025-14926: Hugging Face Transformers SEW convert_config Code Injection Remote Code Execution Vulnerability. CVSS 7.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2025-14926
Last updated: 2026-10-19T22:10:00Z

- Published: 2025-12-23 21:04 UTC · Updated: 2026-10-19 22:10 UTC · Assigner: zdi
- CVSS: 7.8 (CVSS 3.1) · Severity: High · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.34%, 27th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-94

## 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.

## Affected vendors and products

- Hugging Face: Transformers

## Tracked companies

- [Hugging Face](https://rewindex.com/company/hugging-face.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-14926)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-14926)
- [https://www.zerodayinitiative.com/advisories/ZDI-25-1147/](https://www.zerodayinitiative.com/advisories/ZDI-25-1147/)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-14926 · Markdown: https://rewindex.com/cve/CVE-2025-14926.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-14926 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:10:55.090Z
