CVE-2026-45321

Malware in 42 @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys

  • Critical 9.6
  • Exploited: added to CISA KEV 27 May 2026
  • Used in ransomware campaigns

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.

Key facts

Published
12 May 2026
Last changed
4 Aug 2026
Assigned by
GitHub_M
KEV added
27 May 2026
KEV fix due
10 Jun 2026
Used in ransomware
Yes, according to CISA
EPSS
3.278% likely to be exploited in the next 30 days, higher than 88.632% of CVEs (scores for 15 Nov 2026)
SSVC (CISA)
Exploitation: active; Automatable: no; Technical impact: total

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 9.6CVSS 3.1, Criticalfrom the CNA (GitHub_M)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

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 KEV required action

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
@tanstackarktype-adapter
  • 1.166.12 (affected)
  • 1.166.15 (affected)
@tanstackeslint-plugin-router
  • 1.161.9 (affected)
  • 1.161.12 (affected)
@tanstackeslint-plugin-start
  • 0.0.4 (affected)
  • 0.0.7 (affected)
@tanstackhistory
  • 1.161.9 (affected)
  • 1.161.12 (affected)
@tanstacknitro-v2-vite-plugin
  • 1.154.12 (affected)
  • 1.154.15 (affected)
@tanstackreact-router
  • 1.169.5 (affected)
  • 1.169.8 (affected)
@tanstackreact-router-devtools
  • 1.166.16 (affected)
  • 1.166.19 (affected)
@tanstackreact-router-ssr-query
  • 1.166.15 (affected)
  • 1.166.18 (affected)
@tanstackreact-start
  • 1.167.68 (affected)
  • 1.167.71 (affected)
@tanstackreact-start-client
  • 1.166.51 (affected)
  • 1.166.54 (affected)
@tanstackreact-start-rsc
  • 0.0.47 (affected)
  • 0.0.50 (affected)
@tanstackreact-start-server
  • 1.166.55 (affected)
  • 1.166.58 (affected)
@tanstackrouter-cli
  • 1.166.46 (affected)
  • 1.166.49 (affected)
@tanstackrouter-core
  • 1.169.5 (affected)
  • 1.169.8 (affected)
@tanstackrouter-devtools
  • 1.166.16 (affected)
  • 1.166.19 (affected)
@tanstackrouter-devtools-core
  • 1.167.6 (affected)
  • 1.167.9 (affected)
@tanstackrouter-generator
  • 1.166.45 (affected)
  • 1.166.48 (affected)
@tanstackrouter-plugin
  • 1.167.38 (affected)
  • 1.167.41 (affected)
@tanstackrouter-ssr-query-core
  • 1.168.3 (affected)
  • 1.168.6 (affected)
@tanstackrouter-utils
  • 1.161.11 (affected)
  • 1.161.14 (affected)
@tanstackouter-vite-plugin
  • 1.166.53 (affected)
  • 1.166.56 (affected)
@tanstacksolid-router
  • 1.169.5 (affected)
  • 1.169.8 (affected)
@tanstacksolid-router-devtools
  • 1.166.16 (affected)
  • 1.166.19 (affected)
@tanstacksolid-router-ssr-query
  • 1.166.15 (affected)
  • 1.166.18 (affected)
@tanstacksolid-start
  • 1.167.65 (affected)
  • 1.167.68 (affected)
@tanstacksolid-start-client
  • 1.166.50 (affected)
  • 1.166.53 (affected)
@tanstacksolid-start-server
  • 1.166.54 (affected)
  • 1.166.57 (affected)
@tanstackstart-client-core
  • 1.168.5 (affected)
  • 1.168.8 (affected)
@tanstackstart-fn-stubs
  • 1.161.9 (affected)
  • 1.161.12 (affected)
@tanstackstart-plugin-core
  • 1.169.23 (affected)
  • 1.169.26 (affected)
@tanstackstart-server-core
  • 1.167.33 (affected)
  • 1.167.36 (affected)
@tanstackstart-static-server-functions
  • 1.166.44 (affected)
  • 1.166.47 (affected)
@tanstackstart-storage-context
  • 1.166.38 (affected)
  • 1.166.41 (affected)
@tanstackvalibot-adapter
  • 1.166.12 (affected)
  • 1.166.15 (affected)
@tanstackvirtual-file-routes
  • 1.161.10 (affected)
  • 1.161.13 (affected)
@tanstackvue-router
  • 1.169.5 (affected)
  • 1.169.8 (affected)
@tanstackvue-router-devtools
  • 1.166.16 (affected)
  • 1.166.19 (affected)
@tanstackvue-router-ssr-query
  • 1.166.15 (affected)
  • 1.166.18 (affected)
@tanstackvue-start
  • 1.167.61 (affected)
  • 1.167.64 (affected)
@tanstackvue-start-client
  • 1.166.46 (affected)
  • 1.166.49 (affected)
@tanstackvue-start-server
  • 1.166.50 (affected)
  • 1.166.53 (affected)
@tanstackzod-adapter
  • 1.166.12 (affected)
  • 1.166.15 (affected)

Timeline

  1. 12 May 2026 Published
  2. 27 May 2026 CVE-2026-45321 added to CISA KEV
  3. 27 May 2026 Added to the CISA KEV catalogue

Weakness

References