CVE-2026-45321TanStack
Malware Publication in TanStack npm Packages via GitHub Actions Compromise
Critical 9.6 KEVRansomware No auth needed
- Priority
- 88
- CVSS 3.1
- 9.6
- EPSS
- —
- Auth required
- No
- In KEV since
- May 27, 2026
- CISA deadline
- Jun 10, 2026
- Ransomware use
- Confirmed
- Published
- May 12, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-506
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
What happens
Between May 11, 2026 (19:20-19:26 UTC), 84 malicious versions across 42 @tanstack/* packages were published to the npm registry. The attacker exploited pull_request_target misconfigurations, GitHub Actions cache poisoning, and OIDC token extraction to publish credential-stealing malware under a trusted identity. CISA confirmed active exploitation of this vulnerability.
AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.
Show the original NVD text
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.
Exploitation confirmed by CISA
TanStack contains an unspecified vulnerability that allowed malicious versions of the product to be published to the npm registry to publish credential-stealing malware under a trusted identity.
Action required by CISA: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
What to do
Patch available · fixed versions: 1.166.16, 1.161.13, 0.0.8
Immediately update affected packages to patched versions. Review npm logs and audit dependencies installed during the compromised period (May 11, 2026, 19:20-19:26 UTC).
Vendor advisory · github.com ↗
AI-generated from public data; not reviewed.
- Apply the vendor's security update for TanStack.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was June 10, 2026.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @tanstack/arktype-adapter |
≥ 1.166.12 < 1.166.16 |
1.166.16 |
npm install @tanstack/arktype-adapter@1.166.16 |
| npm | @tanstack/arktype-adapter |
≥ 1.166.15 < 1.166.16 |
1.166.16 |
npm install @tanstack/arktype-adapter@1.166.16 |
| npm | @tanstack/eslint-plugin-router |
≥ 1.161.9 < 1.161.13 |
1.161.13 |
npm install @tanstack/eslint-plugin-router@1.161.13 |
| npm | @tanstack/eslint-plugin-router |
≥ 1.161.12 < 1.161.13 |
1.161.13 |
npm install @tanstack/eslint-plugin-router@1.161.13 |
| npm | @tanstack/eslint-plugin-start |
≥ 0.0.4 < 0.0.8 |
0.0.8 |
npm install @tanstack/eslint-plugin-start@0.0.8 |
| npm | @tanstack/eslint-plugin-start |
≥ 0.0.7 < 0.0.8 |
0.0.8 |
npm install @tanstack/eslint-plugin-start@0.0.8 |
| npm | @tanstack/history |
≥ 1.161.9 < 1.161.13 |
1.161.13 |
npm install @tanstack/history@1.161.13 |
| npm | @tanstack/history |
≥ 1.161.12 < 1.161.13 |
1.161.13 |
npm install @tanstack/history@1.161.13 |
| npm | @tanstack/nitro-v2-vite-plugin |
≥ 1.154.12 < 1.154.16 |
1.154.16 |
npm install @tanstack/nitro-v2-vite-plugin@1.154.16 |
| npm | @tanstack/nitro-v2-vite-plugin |
≥ 1.154.15 < 1.154.16 |
1.154.16 |
npm install @tanstack/nitro-v2-vite-plugin@1.154.16 |
| npm | @tanstack/react-router |
≥ 1.169.5 < 1.169.9 |
1.169.9 |
npm install @tanstack/react-router@1.169.9 |
| npm | @tanstack/react-router |
≥ 1.169.8 < 1.169.9 |
1.169.9 |
npm install @tanstack/react-router@1.169.9 |
| npm | @tanstack/react-router-devtools |
≥ 1.166.16 < 1.166.20 |
1.166.20 |
npm install @tanstack/react-router-devtools@1.166.20 |
| npm | @tanstack/react-router-devtools |
≥ 1.166.19 < 1.166.20 |
1.166.20 |
npm install @tanstack/react-router-devtools@1.166.20 |
| npm | @tanstack/react-router-ssr-query |
≥ 1.166.15 < 1.166.19 |
1.166.19 |
npm install @tanstack/react-router-ssr-query@1.166.19 |
| npm | @tanstack/react-router-ssr-query |
≥ 1.166.18 < 1.166.19 |
1.166.19 |
npm install @tanstack/react-router-ssr-query@1.166.19 |
| npm | @tanstack/react-start |
≥ 1.167.68 < 1.167.72 |
1.167.72 |
npm install @tanstack/react-start@1.167.72 |
| npm | @tanstack/react-start |
≥ 1.167.71 < 1.167.72 |
1.167.72 |
npm install @tanstack/react-start@1.167.72 |
| npm | @tanstack/react-start-client |
≥ 1.166.51 < 1.166.55 |
1.166.55 |
npm install @tanstack/react-start-client@1.166.55 |
| npm | @tanstack/react-start-client |
≥ 1.166.54 < 1.166.55 |
1.166.55 |
npm install @tanstack/react-start-client@1.166.55 |
| npm | @tanstack/react-start-rsc |
≥ 0.0.47 < 0.0.51 |
0.0.51 |
npm install @tanstack/react-start-rsc@0.0.51 |
| npm | @tanstack/react-start-rsc |
≥ 0.0.50 < 0.0.51 |
0.0.51 |
npm install @tanstack/react-start-rsc@0.0.51 |
| npm | @tanstack/react-start-server |
≥ 1.166.55 < 1.166.59 |
1.166.59 |
npm install @tanstack/react-start-server@1.166.59 |
| npm | @tanstack/react-start-server |
≥ 1.166.58 < 1.166.59 |
1.166.59 |
npm install @tanstack/react-start-server@1.166.59 |
| npm | @tanstack/router-cli |
≥ 1.166.46 < 1.166.50 |
1.166.50 |
npm install @tanstack/router-cli@1.166.50 |
| npm | @tanstack/router-cli |
≥ 1.166.49 < 1.166.50 |
1.166.50 |
npm install @tanstack/router-cli@1.166.50 |
| npm | @tanstack/router-core |
≥ 1.169.5 < 1.169.9 |
1.169.9 |
npm install @tanstack/router-core@1.169.9 |
| npm | @tanstack/router-core |
≥ 1.169.8 < 1.169.9 |
1.169.9 |
npm install @tanstack/router-core@1.169.9 |
| npm | @tanstack/router-devtools |
≥ 1.166.16 < 1.166.20 |
1.166.20 |
npm install @tanstack/router-devtools@1.166.20 |
| npm | @tanstack/router-devtools |
≥ 1.166.19 < 1.166.20 |
1.166.20 |
npm install @tanstack/router-devtools@1.166.20 |
| npm | @tanstack/router-devtools-core |
≥ 1.167.6 < 1.167.10 |
1.167.10 |
npm install @tanstack/router-devtools-core@1.167.10 |
| npm | @tanstack/router-devtools-core |
≥ 1.167.9 < 1.167.10 |
1.167.10 |
npm install @tanstack/router-devtools-core@1.167.10 |
| npm | @tanstack/router-generator |
≥ 1.166.45 < 1.166.49 |
1.166.49 |
npm install @tanstack/router-generator@1.166.49 |
| npm | @tanstack/router-generator |
≥ 1.166.48 < 1.166.49 |
1.166.49 |
npm install @tanstack/router-generator@1.166.49 |
| npm | @tanstack/router-plugin |
≥ 1.167.38 < 1.167.42 |
1.167.42 |
npm install @tanstack/router-plugin@1.167.42 |
| npm | @tanstack/router-plugin |
≥ 1.167.41 < 1.167.42 |
1.167.42 |
npm install @tanstack/router-plugin@1.167.42 |
| npm | @tanstack/router-ssr-query-core |
≥ 1.168.3 < 1.168.7 |
1.168.7 |
npm install @tanstack/router-ssr-query-core@1.168.7 |
| npm | @tanstack/router-ssr-query-core |
≥ 1.168.6 < 1.168.7 |
1.168.7 |
npm install @tanstack/router-ssr-query-core@1.168.7 |
| npm | @tanstack/router-utils |
≥ 1.161.11 < 1.161.15 |
1.161.15 |
npm install @tanstack/router-utils@1.161.15 |
| npm | @tanstack/router-utils |
≥ 1.161.14 < 1.161.15 |
1.161.15 |
npm install @tanstack/router-utils@1.161.15 |
Per OSV / GitHub Advisories (GHSA-g7cv-rxg3-hmpx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| tanstack | tanstack/arktype-adapter | 1.166.12 |
| tanstack | tanstack/arktype-adapter | 1.166.15 |
| tanstack | tanstack/eslint-plugin-router | 1.161.9 |
| tanstack | tanstack/eslint-plugin-router | 1.161.12 |
| tanstack | tanstack/eslint-plugin-start | 0.0.4 |
| tanstack | tanstack/eslint-plugin-start | 0.0.7 |
| tanstack | tanstack/history | 1.161.9 |
| tanstack | tanstack/history | 1.161.12 |
| tanstack | tanstack/nitro-v2-vite-plugin | 1.154.12 |
| tanstack | tanstack/nitro-v2-vite-plugin | 1.154.15 |
| tanstack | tanstack/react-router | 1.169.5 |
| tanstack | tanstack/react-router | 1.169.8 |
| tanstack | tanstack/react-router-devtools | 1.166.16 |
| tanstack | tanstack/react-router-devtools | 1.166.19 |
| tanstack | tanstack/react-router-ssr-query | 1.166.15 |
| tanstack | tanstack/react-router-ssr-query | 1.166.18 |
| tanstack | tanstack/react-start | 1.167.68 |
| tanstack | tanstack/react-start | 1.167.71 |
| tanstack | tanstack/react-start-client | 1.166.51 |
| tanstack | tanstack/react-start-client | 1.166.54 |
| tanstack | tanstack/react-start-rsc | 0.0.47 |
| tanstack | tanstack/react-start-rsc | 0.0.50 |
| tanstack | tanstack/react-start-server | 1.166.55 |
| tanstack | tanstack/react-start-server | 1.166.58 |
| tanstack | tanstack/router-cli | 1.166.46 |
| tanstack | tanstack/router-cli | 1.166.49 |
| tanstack | tanstack/router-core | 1.169.5 |
| tanstack | tanstack/router-core | 1.169.8 |
| tanstack | tanstack/router-devtools | 1.166.16 |
| tanstack | tanstack/router-devtools | 1.166.19 |
| tanstack | tanstack/router-devtools-core | 1.167.6 |
| tanstack | tanstack/router-devtools-core | 1.167.9 |
| tanstack | tanstack/router-generator | 1.166.45 |
| tanstack | tanstack/router-generator | 1.166.48 |
| tanstack | tanstack/router-plugin | 1.167.38 |
| tanstack | tanstack/router-plugin | 1.167.41 |
| tanstack | tanstack/router-ssr-query-core | 1.168.3 |
| tanstack | tanstack/router-ssr-query-core | 1.168.6 |
| tanstack | tanstack/router-utils | 1.161.11 |
| tanstack | tanstack/router-utils | 1.161.14 |
| tanstack | tanstack/router-vite-plugin | 1.166.53 |
| tanstack | tanstack/router-vite-plugin | 1.166.56 |
| tanstack | tanstack/solid-router | 1.169.5 |
| tanstack | tanstack/solid-router | 1.169.8 |
| tanstack | tanstack/solid-router-devtools | 1.166.16 |
| tanstack | tanstack/solid-router-devtools | 1.166.19 |
| tanstack | tanstack/solid-router-ssr-query | 1.166.15 |
| tanstack | tanstack/solid-router-ssr-query | 1.166.18 |
| tanstack | tanstack/solid-start | 1.167.65 |
| tanstack | tanstack/solid-start | 1.167.68 |
| tanstack | tanstack/solid-start-client | 1.166.50 |
| tanstack | tanstack/solid-start-client | 1.166.53 |
| tanstack | tanstack/solid-start-server | 1.166.54 |
| tanstack | tanstack/solid-start-server | 1.166.57 |
| tanstack | tanstack/start-client-core | 1.168.5 |
| tanstack | tanstack/start-client-core | 1.168.8 |
| tanstack | tanstack/start-fn-stubs | 1.161.9 |
| tanstack | tanstack/start-fn-stubs | 1.161.12 |
| tanstack | tanstack/start-plugin-core | 1.169.23 |
| tanstack | tanstack/start-plugin-core | 1.169.26 |
and 283 more in the JSON
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking
- github.com Mitigation Vendor Advisory
- tanstack.com Exploit Vendor Advisory
- www.stepsecurity.io Exploit Third Party Advisory
- www.cisa.gov US Government Resource