What is CVE-2026-45321?
On 2026-05-11, between approximately 19:20 and 19:26 UTC, 84 malicious versions across 42 @tanstack/* packages were published to the npm registry. The publishes were authenticated via the legitimate GitHub Actions OIDC trusted-publisher binding for TanStack/router, but the publish workflow itself was not modified. The attacker chained three known vulnerability classes — a pull_request_target "Pwn Request" misconfiguration, GitHub Actions cache poisoning across the fork↔base trust boundary, and runtime memory extraction of the OIDC token from the Actions runner process — to publish credential-stealing malware under a trusted identity. Each affected package received exactly two malicious versions, published a few minutes apart.
The record classifies CVE-2026-45321 under weakness class CWE-506. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs a user to take an action first, and has high impact on confidentiality, integrity, availability. 10 affected-product entries are recorded, across 1 vendor, listed below. The identifier was first published 191 days ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 9.6 — CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H - EPSS (FIRST)
- 1.0% probability of exploitation in the next 30 days, higher than 63.3% of all scored CVEs
- CISA KEV
- Listed since 2026-05-27, federal remediation deadline 2026-06-10 — used in known ransomware campaigns
- Threadlinqs priority
- 10/10 — CISA lists it as used in ransomware, which Threadlinqs scores at the maximum
- Published
- 2026-05-12
Is CVE-2026-45321 being exploited?
CISA added CVE-2026-45321 to the Known Exploited Vulnerabilities catalog on 2026-05-27, which means the agency holds evidence of exploitation in the wild; US federal civilian agencies had to remediate it by 2026-06-10 under BOD 22-01. CISA flags the vulnerability as one used in known ransomware campaigns. Weaponised exploit code for CVE-2026-45321 is publicly available. 10 public proof-of-concept repositories are tracked for this identifier. It currently carries a trending score of 44 in the Threadlinqs vulnerability feed.
- Intrudify/mini-shai-hulud-scanner (github)
- fabriziosalmi/tanstack-compromise-checker (github)
- qi-scape/scan-shai-hulud (github)
- shayr1/shai-hulud-scan (github)
- nkopylov/tanscript-exploit-check (github)
- ry-allan/tanstack-compromise-checker (github)
- Yomisana/are-you-get-tanstack-attack (github)
- Caixa-git/tanstack-shield (github)
Affected products and versions
- @tanstack: arktype-adapter, eslint-plugin-router, eslint-plugin-start, history, nitro-v2-vite-plugin, react-router, react-router-devtools, react-router-ssr-query, react-start, react-start-client
How to fix CVE-2026-45321
Because CVE-2026-45321 is KEV-listed, US federal civilian agencies were required to apply the vendor fix, or stop using the product, by 2026-06-10. No vendor patch reference has been recorded for CVE-2026-45321 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.
Threat activity tracking CVE-2026-45321
7 tracked threats in the Threadlinqs corpus reference CVE-2026-45321, either in the campaign’s CVE list or as an indicator on the campaign record.
- Microsoft shortens NuGet.org API key lifetimes to 30 days for supply-chain hardening (effective Aug 17, 2026) — MEDIUM · 2026-08-04
- Binding.gyp "Phantom Gyp" Supply Chain Attack (Miasma Worm) Enables CI/CD Worm Propagation Across 57 npm Packages — HIGH · 2026-06-04
- Miasma — @redhat-cloud-services npm Supply Chain Compromise (Mini Shai-Hulud Variant, GitHub Actions OIDC/SLSA Abuse with GCP/Azure Cloud-Identity Theft) — CRITICAL · 2026-06-01
- durabletask PyPI Supply Chain Compromise (v1.4.1–1.4.3) — Microsoft-Published Azure Durable Functions SDK Trojanized w/ Cross-Cloud Credential Stealer + Linux Disk Wiper (TeamPCP / Mini Shai-Hulud) — CRITICAL · 2026-05-25
- Nx Console VS Code Extension Backdoored (v18.95.0) — TeamPCP Mini Shai-Hulud Pivot from TanStack npm Worm to GitHub Internal Repository Breach (CVE-2026-48027) — CRITICAL · 2026-05-21
- Mini Shai-Hulud v3 — TanStack/UiPath/Mistral AI npm & PyPI Supply Chain Compromise (TeamPCP) — CRITICAL · 2026-05-12
- TeamPCP LiteLLM Supply Chain Attack — Trojaned PyPI Packages (v1.82.7/1.82.8) with Multi-Stage C2 Payload — CRITICAL · 2026-03-31
Sources
Enriched from CVE.org, FIRST EPSS, CISA KEV, public proof-of-concept repositories.