Hugging Face Transformers Megatron GPT2 Deserialization RCE
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerabilitySupply chain
An unpatched remote code execution vulnerability exists in Hugging Face Transformers due to unsafe deserialization of model checkpoints. Attackers can exploit the lack of validation when users process malicious files or pages.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityprimaryCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Supply chainMalicious or backdoored models, poisoned packages, unsafe deserialization and other compromised AI dependencies.
- Infrastructure vulnerabilityprimary
- owasp llm top 10
- mitre atlas
- Both rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- Transformers, megatron_gpt2
- incident date
- 23 Dec 2025
- first reported
- 23 Dec 2025
- origin
- NVDVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2025-14924 · rce · deserialization
- record
- created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z · json
Sources · 1
- 2025-12-23CVE-2025-14924: Hugging Face Transformers megatron_gpt2 Deserialization of Untrusted Data Remote Code Execution Vulnerability.NVD · nvd.nist.gov/vuln/detail/CVE-2025-14924
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2026-04-07CVE-2026-1839: HuggingFace Transformers Arbitrary Code Execution in Trainer2 Disclosedon AIInfra vulnSupply chain1 src
- 2026-09-01Hugging Face Transformers Downloads Custom Code Before Consent2 Disclosedon AISupply chainInfra vuln2 src
- 2026-08-02Hugging Face Transformers save_pretrained allows arbitrary file writes2 Disclosedon AIInfra vulnSupply chain1 src
- 2025-12-23Hugging Face Transformers Perceiver Model Deserialization RCE2 Disclosedon AIInfra vulnSupply chain1 src
- 2025-12-23Hugging Face Transformers GLM4 Deserialization RCE2 Disclosedon AIInfra vulnSupply chain1 src
- 2025-12-23Hugging Face Transformers Transformer-XL Deserialization RCE2 Disclosedon AIInfra vulnSupply chain1 src