CVE-2026-45321

published 12 May 2026 · updated 4 Aug 2026

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

10.0CriticalCVSS 9.6EPSS 3%CISA KEV · due 10 Jun 2026

Exploited in the wild, used by ransomware, in CISA KEV since 27 May 2026 (due 10 Jun 2026). No fixed version is recorded.

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.

Briefing

Written from the sources below · deepseek-v4.1-flash

On 2026-05-11, 84 malicious versions across 42 @tanstack/* npm packages were published via TanStack/router's legitimate GitHub Actions OIDC trusted-publisher binding, with the publish workflow unmodified. The attacker chained a pull_request_target misconfiguration, Actions cache poisoning, and runtime OIDC token extraction to publish credential-stealing malware.

Why it mattersCISA KEV-listed with confirmed exploitation, so any project that installed these packages during the 19:20-19:26 UTC window may have leaked cloud credentials, GitHub tokens, and SSH keys. EPSS is 3%.},

Actionnone

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
TanStackTanStack
TanStackarktype-adapter=1.166.12, =1.166.15
TanStackeslint-plugin-router=1.161.9, =1.161.12
TanStackeslint-plugin-start=0.0.4, =0.0.7
TanStackhistory=1.161.12, =1.161.9
TanStacknitro-v2-vite-plugin=1.154.15, =1.154.12
TanStackouter-vite-plugin=1.166.56, =1.166.53
TanStackreact-router=1.166.19, =1.166.15, =1.166.18, =1.169.5, =1.169.8, =1.166.16
TanStackreact-start=0.0.50, =1.166.51, =1.166.54, =0.0.47, =1.166.55, =1.166.58, =1.167.68, =1.167.71
TanStackrouter=1.166.49, =1.169.5, =1.169.8, =1.167.6, =1.167.9, =1.166.16, =1.166.19, =1.166.45, =1.166.48, =1.167.38, =1.167.41, =1.168.3, =1.168.6, =1.161.11, =1.161.14, =1.166.46
TanStacksolid-router=1.166.16, =1.166.19, =1.166.15, =1.166.18, =1.169.5, =1.169.8
TanStacksolid-start=1.166.53, =1.166.54, =1.166.57, =1.167.65, =1.167.68, =1.166.50
TanStackstart-client-core=1.168.8, =1.168.5
TanStackstart-fn-stubs=1.161.9, =1.161.12
TanStackstart-plugin-core=1.169.26, =1.169.23
TanStackstart-server-core=1.167.36, =1.167.33
TanStackstart-static-server-functions=1.166.47, =1.166.44
TanStackstart-storage-context=1.166.41, =1.166.38
TanStackvalibot-adapter=1.166.15, =1.166.12
TanStackvirtual-file-routes=1.161.13, =1.161.10
TanStackvue-router=1.166.19, =1.166.15, =1.166.18, =1.169.5, =1.169.8, =1.166.16
TanStackvue-start=1.166.46, =1.166.50, =1.166.53, =1.167.61, =1.167.64, =1.166.49
TanStackzod-adapter=1.166.15, =1.166.12

Exploit evidence

1 public sources

kev

Timeline

Every event on this vulnerability

Added to CISA KEVCVE-2026-45321·
On 2026-05-11, 84 malicious versions across 42 @tanstack/* npm packages were published via TanStack/router's legitimate GitHub Actions OIDC trusted-publisher binding, with the publish workflow unmodified. The attacker chained a pull_request_target misconfiguration, Actions cache poisoning, and runtime OIDC token extraction to publish credential-stealing malware.
7.0High
PublishedCVE-2026-45321·
On 2026-05-11, 84 malicious versions across 42 @tanstack/* npm packages were published via TanStack/router's legitimate GitHub Actions OIDC trusted-publisher binding, with the publish workflow unmodified. The attacker chained a pull_request_target misconfiguration, Actions cache poisoning, and runtime OIDC token extraction to publish credential-stealing malware.
7.0High

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-45321 severity on Zeptric[![CVE-2026-45321](https://zeptric.io/badge/cve/CVE-2026-45321.svg)](https://zeptric.io/cve/CVE-2026-45321)