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.
CVSS Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Affected Products (343)
| Vendor | Product | Version |
|---|---|---|
| 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 |
…and 323 more
GitHub Security Advisory GHSA-g7cv-rxg3-hmpx
Malware in @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys
References (5)
- https://github.com/TanStack/router/issues/7383 Issue Tracking
- https://github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx Mitigation, Vendor Advisory
- https://tanstack.com/blog/npm-supply-chain-compromise-postmortem Exploit, Vendor Advisory
- https://www.stepsecurity.io/blog/mini-shai-hulud-is-back-a-self-spreading-supply-chain-attack-hits-the-npm-ecosystem Exploit, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-45321 US Government Resource
Risk Scores
Top 5% most likely to be exploited
CISA Known Exploited
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.