Malware in 42 @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys
Summary
| CVE | CVE-2026-45321 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-12 01:16:46 UTC |
| Updated | 2026-05-12 01:16:46 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.6 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Problem Types: CWE-506 | CWE-506 CWE-506: Embedded Malicious Code
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 9.6 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 9.6 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | @tanstack | Arktype-adapter | affected 1.166.12 | Not specified |
| CNA | @tanstack | Arktype-adapter | affected 1.166.15 | Not specified |
| CNA | @tanstack | Eslint-plugin-router | affected 1.161.9 | Not specified |
| CNA | @tanstack | Eslint-plugin-router | affected 1.161.12 | Not specified |
| CNA | @tanstack | Eslint-plugin-start | affected 0.0.4 | Not specified |
| CNA | @tanstack | Eslint-plugin-start | affected 0.0.7 | Not specified |
| CNA | @tanstack | History | affected 1.161.9 | Not specified |
| CNA | @tanstack | History | affected 1.161.12 | Not specified |
| CNA | @tanstack | Nitro-v2-vite-plugin | affected 1.154.12 | Not specified |
| CNA | @tanstack | Nitro-v2-vite-plugin | affected 1.154.15 | Not specified |
| CNA | @tanstack | React-router | affected 1.169.5 | Not specified |
| CNA | @tanstack | React-router | affected 1.169.8 | Not specified |
| CNA | @tanstack | React-router-devtools | affected 1.166.16 | Not specified |
| CNA | @tanstack | React-router-devtools | affected 1.166.19 | Not specified |
| CNA | @tanstack | React-router-ssr-query | affected 1.166.15 | Not specified |
| CNA | @tanstack | React-router-ssr-query | affected 1.166.18 | Not specified |
| CNA | @tanstack | React-start | affected 1.167.68 | Not specified |
| CNA | @tanstack | React-start | affected 1.167.71 | Not specified |
| CNA | @tanstack | React-start-client | affected 1.166.51 | Not specified |
| CNA | @tanstack | React-start-client | affected 1.166.54 | Not specified |
| CNA | @tanstack | React-start-rsc | affected 0.0.47 | Not specified |
| CNA | @tanstack | React-start-rsc | affected 0.0.50 | Not specified |
| CNA | @tanstack | React-start-server | affected 1.166.55 | Not specified |
| CNA | @tanstack | React-start-server | affected 1.166.58 | Not specified |
| CNA | @tanstack | Router-cli | affected 1.166.46 | Not specified |
| CNA | @tanstack | Router-cli | affected 1.166.49 | Not specified |
| CNA | @tanstack | Router-core | affected 1.169.5 | Not specified |
| CNA | @tanstack | Router-core | affected 1.169.8 | Not specified |
| CNA | @tanstack | Router-devtools | affected 1.166.16 | Not specified |
| CNA | @tanstack | Router-devtools | affected 1.166.19 | Not specified |
| CNA | @tanstack | Router-devtools-core | affected 1.167.6 | Not specified |
| CNA | @tanstack | Router-devtools-core | affected 1.167.9 | Not specified |
| CNA | @tanstack | Router-generator | affected 1.166.45 | Not specified |
| CNA | @tanstack | Router-generator | affected 1.166.48 | Not specified |
| CNA | @tanstack | Router-plugin | affected 1.167.38 | Not specified |
| CNA | @tanstack | Router-plugin | affected 1.167.41 | Not specified |
| CNA | @tanstack | Router-ssr-query-core | affected 1.168.3 | Not specified |
| CNA | @tanstack | Router-ssr-query-core | affected 1.168.6 | Not specified |
| CNA | @tanstack | Router-utils | affected 1.161.11 | Not specified |
| CNA | @tanstack | Router-utils | affected 1.161.14 | Not specified |
| CNA | @tanstack | Outer-vite-plugin | affected 1.166.53 | Not specified |
| CNA | @tanstack | Outer-vite-plugin | affected 1.166.56 | Not specified |
| CNA | @tanstack | Solid-router | affected 1.169.5 | Not specified |
| CNA | @tanstack | Solid-router | affected 1.169.8 | Not specified |
| CNA | @tanstack | Solid-router-devtools | affected 1.166.16 | Not specified |
| CNA | @tanstack | Solid-router-devtools | affected 1.166.19 | Not specified |
| CNA | @tanstack | Solid-router-ssr-query | affected 1.166.15 | Not specified |
| CNA | @tanstack | Solid-router-ssr-query | affected 1.166.18 | Not specified |
| CNA | @tanstack | Solid-start | affected 1.167.65 | Not specified |
| CNA | @tanstack | Solid-start | affected 1.167.68 | Not specified |
| CNA | @tanstack | Solid-start-client | affected 1.166.50 | Not specified |
| CNA | @tanstack | Solid-start-client | affected 1.166.53 | Not specified |
| CNA | @tanstack | Solid-start-server | affected 1.166.54 | Not specified |
| CNA | @tanstack | Solid-start-server | affected 1.166.57 | Not specified |
| CNA | @tanstack | Start-client-core | affected 1.168.5 | Not specified |
| CNA | @tanstack | Start-client-core | affected 1.168.8 | Not specified |
| CNA | @tanstack | Start-fn-stubs | affected 1.161.9 | Not specified |
| CNA | @tanstack | Start-fn-stubs | affected 1.161.12 | Not specified |
| CNA | @tanstack | Start-plugin-core | affected 1.169.23 | Not specified |
| CNA | @tanstack | Start-plugin-core | affected 1.169.26 | Not specified |
| CNA | @tanstack | Start-server-core | affected 1.167.33 | Not specified |
| CNA | @tanstack | Start-server-core | affected 1.167.36 | Not specified |
| CNA | @tanstack | Start-static-server-functions | affected 1.166.44 | Not specified |
| CNA | @tanstack | Start-static-server-functions | affected 1.166.47 | Not specified |
| CNA | @tanstack | Start-storage-context | affected 1.166.38 | Not specified |
| CNA | @tanstack | Start-storage-context | affected 1.166.41 | Not specified |
| CNA | @tanstack | Valibot-adapter | affected 1.166.12 | Not specified |
| CNA | @tanstack | Valibot-adapter | affected 1.166.15 | Not specified |
| CNA | @tanstack | Virtual-file-routes | affected 1.161.10 | Not specified |
| CNA | @tanstack | Virtual-file-routes | affected 1.161.13 | Not specified |
| CNA | @tanstack | Vue-router | affected 1.169.5 | Not specified |
| CNA | @tanstack | Vue-router | affected 1.169.8 | Not specified |
| CNA | @tanstack | Vue-router-devtools | affected 1.166.16 | Not specified |
| CNA | @tanstack | Vue-router-devtools | affected 1.166.19 | Not specified |
| CNA | @tanstack | Vue-router-ssr-query | affected 1.166.15 | Not specified |
| CNA | @tanstack | Vue-router-ssr-query | affected 1.166.18 | Not specified |
| CNA | @tanstack | Vue-start | affected 1.167.61 | Not specified |
| CNA | @tanstack | Vue-start | affected 1.167.64 | Not specified |
| CNA | @tanstack | Vue-start-client | affected 1.166.46 | Not specified |
| CNA | @tanstack | Vue-start-client | affected 1.166.49 | Not specified |
| CNA | @tanstack | Vue-start-server | affected 1.166.50 | Not specified |
| CNA | @tanstack | Vue-start-server | affected 1.166.53 | Not specified |
| CNA | @tanstack | Zod-adapter | affected 1.166.12 | Not specified |
| CNA | @tanstack | Zod-adapter | affected 1.166.15 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/TanStack/router/issues/7383 | [email protected] | github.com | |
| github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.