# CVE-2025-14930: Hugging Face Transformers GLM4 Deserialization of Untrusted Data 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.35%, higher than 31% of CVEs (2026-12-01)
- Published: 2025-12-23T21:04:52.512Z
- Modified: 2026-10-19T22:10:00.130Z
- Also known as: PYSEC-2025-218
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: zdi

## Description

Hugging Face Transformers GLM4 Deserialization of Untrusted Data 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 visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of weights. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28309.

(As written by CVE List.)

## Affected

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

## 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-1145/> (advisory, third-party-advisory)

## Sources

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

---

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