CVE-2026-45321
Malware in 42 @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys
- Critical 9.6
- Exploited: added to CISA KEV 27 May 2026
- Used in ransomware campaigns
Description
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.
Key facts
- Published
- 12 May 2026
- Last changed
- 4 Aug 2026
- Assigned by
- GitHub_M
- KEV added
- 27 May 2026
- KEV fix due
- 10 Jun 2026
- Used in ransomware
- Yes, according to CISA
- EPSS
- 3.278% likely to be exploited in the next 30 days, higher than 88.632% of CVEs (scores for 15 Nov 2026)
- SSVC (CISA)
- Exploitation: active; Automatable: no; Technical impact: total
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 9.6CVSS 3.1, Criticalfrom the CNA (GitHub_M)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
What to do
- Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.CISA KEV required action
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| @tanstack | arktype-adapter |
|
| @tanstack | eslint-plugin-router |
|
| @tanstack | eslint-plugin-start |
|
| @tanstack | history |
|
| @tanstack | nitro-v2-vite-plugin |
|
| @tanstack | react-router |
|
| @tanstack | react-router-devtools |
|
| @tanstack | react-router-ssr-query |
|
| @tanstack | react-start |
|
| @tanstack | react-start-client |
|
| @tanstack | react-start-rsc |
|
| @tanstack | react-start-server |
|
| @tanstack | router-cli |
|
| @tanstack | router-core |
|
| @tanstack | router-devtools |
|
| @tanstack | router-devtools-core |
|
| @tanstack | router-generator |
|
| @tanstack | router-plugin |
|
| @tanstack | router-ssr-query-core |
|
| @tanstack | router-utils |
|
| @tanstack | outer-vite-plugin |
|
| @tanstack | solid-router |
|
| @tanstack | solid-router-devtools |
|
| @tanstack | solid-router-ssr-query |
|
| @tanstack | solid-start |
|
| @tanstack | solid-start-client |
|
| @tanstack | solid-start-server |
|
| @tanstack | start-client-core |
|
| @tanstack | start-fn-stubs |
|
| @tanstack | start-plugin-core |
|
| @tanstack | start-server-core |
|
| @tanstack | start-static-server-functions |
|
| @tanstack | start-storage-context |
|
| @tanstack | valibot-adapter |
|
| @tanstack | virtual-file-routes |
|
| @tanstack | vue-router |
|
| @tanstack | vue-router-devtools |
|
| @tanstack | vue-router-ssr-query |
|
| @tanstack | vue-start |
|
| @tanstack | vue-start-client |
|
| @tanstack | vue-start-server |
|
| @tanstack | zod-adapter |
|
Timeline
- 12 May 2026 Published
- 27 May 2026 CVE-2026-45321 added to CISA KEV
- 27 May 2026 Added to the CISA KEV catalogue
Weakness
References
- https://github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx
- https://github.com/TanStack/router/issues/7383
- https://tanstack.com/blog/npm-supply-chain-compromise-postmortem
- https://www.stepsecurity.io/blog/mini-shai-hulud-is-back-a-self-spreading-supply-chain-attack-hits-the-npm-ecosystem