Back to list

Malware in @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys — CVE-2026-45321

GitHub · GitHub · CVE-2026-45321

ID
CVE-2026-45321
Date
Updated
Activity
Source
GitHub
Vendor
GitHub
Threat
critical
CVSS
9.6
EPSS
0.00039

Summary

## Summary 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…

Product

npm: @tanstack/arktype-adapter | npm: @tanstack/eslint-plugin-router | npm: @tanstack/eslint-plugin-start | npm: @tanstack/history | npm: @tanstack/nitro-v2-vite-plugin | npm: @tanstack/react-router | npm: @tanstack/react-router-devtools | npm: @tanstack/react-router-ssr-query | +34

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories