HuggingFace transformers vulnerable to remote code execution via config.json
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
A critical vulnerability in HuggingFace transformers allows remote code execution when loading untrusted models due to unfiltered deserialization. Users are advised to update to version 5.3.0 or later.
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 vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth 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
- incident date
- 26 May 2026
- first reported
- 26 May 2026
- origin
- GitHub Advisory DatabaseVulnerability 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-2026-4372 · rce · deserialization
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 07:00Z · json
Sources · 1
- 2026-05-26CVE-2026-4372: HuggingFace transformers vulnerable to remote code executionGitHub Advisory Database · github.com/advisories/GHSA-29pf-2h5f-8g72
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-06-03HuggingFace transformers vulnerable to arbitrary code execution in LightGlue loader2 Disclosedon AIInfra vuln1 src
- 2025-09-23CVE-2025-6921: Hugging Face Transformers vulnerable to ReDoS in optimizer2 Disclosedon AIInfra vuln1 src
- 2025-09-12CVE-2025-6638: Hugging Face Transformers vulnerable to ReDoS via MarianTokenizer2 Disclosedon AIInfra vuln2 src
- 2025-07-07Hugging Face Transformers vulnerable to ReDoS in configuration utils2 Disclosedon AIInfra vuln2 src
- 2025-07-07Hugging Face Transformers vulnerable to ReDoS in get_imports2 Disclosedon AIInfra vuln2 src
- 2025-07-07Hugging Face Transformers vulnerable to ReDoS in SETTING_RE2 Disclosedon AIInfra vuln1 src