CVE-2026-45321
TanStack Unspecified Vulnerability
- Actively exploited
- Used by ransomware
- Critical · 9.6 of 10
- Exploited since
- 27 May 2026 added to the CISA list
- Chance of attacks
- 3.3% in the next 30 days (FIRST EPSS)
- Fix deadline
- 10 Jun 2026 for US federal agencies
- Published
- 12 May 2026 in the NVD
What this means
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.
CISA
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.
NIST National Vulnerability Database
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's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- @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
Official sources
- nvd.nist.gov/vuln/detail/CVE-2026-45321
- github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx vendor advisory
- tanstack.com/blog/npm-supply-chain-compromise-postmortem vendor advisory
- github.com/TanStack/router/issues/7383
- stepsecurity.io/blog/mini-shai-hulud-is-back-a-self-spreading-supply-chain-attack-hits-the...
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-45321
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.