Malware in 42 @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys
Exploited in the wild, used by ransomware, in CISA KEV since 27 May 2026 (due 10 Jun 2026). No fixed version is recorded.
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.
Briefing
Written from the sources below · deepseek-v4.1-flash
On 2026-05-11, 84 malicious versions across 42 @tanstack/* npm packages were published via TanStack/router's legitimate GitHub Actions OIDC trusted-publisher binding, with the publish workflow unmodified. The attacker chained a pull_request_target misconfiguration, Actions cache poisoning, and runtime OIDC token extraction to publish credential-stealing malware.
Why it mattersCISA KEV-listed with confirmed exploitation, so any project that installed these packages during the 19:20-19:26 UTC window may have leaked cloud credentials, GitHub tokens, and SSH keys. EPSS is 3%.},
Actionnone
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| TanStack | TanStack | ||
| TanStack | arktype-adapter | =1.166.12, =1.166.15 | |
| TanStack | eslint-plugin-router | =1.161.9, =1.161.12 | |
| TanStack | eslint-plugin-start | =0.0.4, =0.0.7 | |
| TanStack | history | =1.161.12, =1.161.9 | |
| TanStack | nitro-v2-vite-plugin | =1.154.15, =1.154.12 | |
| TanStack | outer-vite-plugin | =1.166.56, =1.166.53 | |
| TanStack | react-router | =1.166.19, =1.166.15, =1.166.18, =1.169.5, =1.169.8, =1.166.16 | |
| TanStack | react-start | =0.0.50, =1.166.51, =1.166.54, =0.0.47, =1.166.55, =1.166.58, =1.167.68, =1.167.71 | |
| TanStack | router | =1.166.49, =1.169.5, =1.169.8, =1.167.6, =1.167.9, =1.166.16, =1.166.19, =1.166.45, =1.166.48, =1.167.38, =1.167.41, =1.168.3, =1.168.6, =1.161.11, =1.161.14, =1.166.46 | |
| TanStack | solid-router | =1.166.16, =1.166.19, =1.166.15, =1.166.18, =1.169.5, =1.169.8 | |
| TanStack | solid-start | =1.166.53, =1.166.54, =1.166.57, =1.167.65, =1.167.68, =1.166.50 | |
| TanStack | start-client-core | =1.168.8, =1.168.5 | |
| TanStack | start-fn-stubs | =1.161.9, =1.161.12 | |
| TanStack | start-plugin-core | =1.169.26, =1.169.23 | |
| TanStack | start-server-core | =1.167.36, =1.167.33 | |
| TanStack | start-static-server-functions | =1.166.47, =1.166.44 | |
| TanStack | start-storage-context | =1.166.41, =1.166.38 | |
| TanStack | valibot-adapter | =1.166.15, =1.166.12 | |
| TanStack | virtual-file-routes | =1.161.13, =1.161.10 | |
| TanStack | vue-router | =1.166.19, =1.166.15, =1.166.18, =1.169.5, =1.169.8, =1.166.16 | |
| TanStack | vue-start | =1.166.46, =1.166.50, =1.166.53, =1.167.61, =1.167.64, =1.166.49 | |
| TanStack | zod-adapter | =1.166.15, =1.166.12 |
Exploit evidence
1 public sources
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket