Live threats

All CVEs / TanStack

CVE-2026-45321TanStack

Malware Publication in TanStack npm Packages via GitHub Actions Compromise

Critical 9.6 KEVRansomware No auth needed

Priority
88
CVSS 3.1
9.6
EPSS
—
Auth required
No
In KEV since
May 27, 2026
CISA deadline
Jun 10, 2026
Ransomware use
Confirmed
Published
May 12, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-506
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

What happens

Between May 11, 2026 (19:20-19:26 UTC), 84 malicious versions across 42 @tanstack/* packages were published to the npm registry. The attacker exploited pull_request_target misconfigurations, GitHub Actions cache poisoning, and OIDC token extraction to publish credential-stealing malware under a trusted identity. CISA confirmed active exploitation of this vulnerability.

AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.

Show the original NVD text

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.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

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.

Action required by CISA: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 1.166.16, 1.161.13, 0.0.8

Immediately update affected packages to patched versions. Review npm logs and audit dependencies installed during the compromised period (May 11, 2026, 19:20-19:26 UTC).

Vendor advisory · github.com ↗

AI-generated from public data; not reviewed.

  1. Apply the vendor's security update for TanStack.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was June 10, 2026.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @tanstack/arktype-adapter ≥ 1.166.12 < 1.166.16 1.166.16 npm install @tanstack/arktype-adapter@1.166.16
npm @tanstack/arktype-adapter ≥ 1.166.15 < 1.166.16 1.166.16 npm install @tanstack/arktype-adapter@1.166.16
npm @tanstack/eslint-plugin-router ≥ 1.161.9 < 1.161.13 1.161.13 npm install @tanstack/eslint-plugin-router@1.161.13
npm @tanstack/eslint-plugin-router ≥ 1.161.12 < 1.161.13 1.161.13 npm install @tanstack/eslint-plugin-router@1.161.13
npm @tanstack/eslint-plugin-start ≥ 0.0.4 < 0.0.8 0.0.8 npm install @tanstack/eslint-plugin-start@0.0.8
npm @tanstack/eslint-plugin-start ≥ 0.0.7 < 0.0.8 0.0.8 npm install @tanstack/eslint-plugin-start@0.0.8
npm @tanstack/history ≥ 1.161.9 < 1.161.13 1.161.13 npm install @tanstack/history@1.161.13
npm @tanstack/history ≥ 1.161.12 < 1.161.13 1.161.13 npm install @tanstack/history@1.161.13
npm @tanstack/nitro-v2-vite-plugin ≥ 1.154.12 < 1.154.16 1.154.16 npm install @tanstack/nitro-v2-vite-plugin@1.154.16
npm @tanstack/nitro-v2-vite-plugin ≥ 1.154.15 < 1.154.16 1.154.16 npm install @tanstack/nitro-v2-vite-plugin@1.154.16
npm @tanstack/react-router ≥ 1.169.5 < 1.169.9 1.169.9 npm install @tanstack/react-router@1.169.9
npm @tanstack/react-router ≥ 1.169.8 < 1.169.9 1.169.9 npm install @tanstack/react-router@1.169.9
npm @tanstack/react-router-devtools ≥ 1.166.16 < 1.166.20 1.166.20 npm install @tanstack/react-router-devtools@1.166.20
npm @tanstack/react-router-devtools ≥ 1.166.19 < 1.166.20 1.166.20 npm install @tanstack/react-router-devtools@1.166.20
npm @tanstack/react-router-ssr-query ≥ 1.166.15 < 1.166.19 1.166.19 npm install @tanstack/react-router-ssr-query@1.166.19
npm @tanstack/react-router-ssr-query ≥ 1.166.18 < 1.166.19 1.166.19 npm install @tanstack/react-router-ssr-query@1.166.19
npm @tanstack/react-start ≥ 1.167.68 < 1.167.72 1.167.72 npm install @tanstack/react-start@1.167.72
npm @tanstack/react-start ≥ 1.167.71 < 1.167.72 1.167.72 npm install @tanstack/react-start@1.167.72
npm @tanstack/react-start-client ≥ 1.166.51 < 1.166.55 1.166.55 npm install @tanstack/react-start-client@1.166.55
npm @tanstack/react-start-client ≥ 1.166.54 < 1.166.55 1.166.55 npm install @tanstack/react-start-client@1.166.55
npm @tanstack/react-start-rsc ≥ 0.0.47 < 0.0.51 0.0.51 npm install @tanstack/react-start-rsc@0.0.51
npm @tanstack/react-start-rsc ≥ 0.0.50 < 0.0.51 0.0.51 npm install @tanstack/react-start-rsc@0.0.51
npm @tanstack/react-start-server ≥ 1.166.55 < 1.166.59 1.166.59 npm install @tanstack/react-start-server@1.166.59
npm @tanstack/react-start-server ≥ 1.166.58 < 1.166.59 1.166.59 npm install @tanstack/react-start-server@1.166.59
npm @tanstack/router-cli ≥ 1.166.46 < 1.166.50 1.166.50 npm install @tanstack/router-cli@1.166.50
npm @tanstack/router-cli ≥ 1.166.49 < 1.166.50 1.166.50 npm install @tanstack/router-cli@1.166.50
npm @tanstack/router-core ≥ 1.169.5 < 1.169.9 1.169.9 npm install @tanstack/router-core@1.169.9
npm @tanstack/router-core ≥ 1.169.8 < 1.169.9 1.169.9 npm install @tanstack/router-core@1.169.9
npm @tanstack/router-devtools ≥ 1.166.16 < 1.166.20 1.166.20 npm install @tanstack/router-devtools@1.166.20
npm @tanstack/router-devtools ≥ 1.166.19 < 1.166.20 1.166.20 npm install @tanstack/router-devtools@1.166.20
npm @tanstack/router-devtools-core ≥ 1.167.6 < 1.167.10 1.167.10 npm install @tanstack/router-devtools-core@1.167.10
npm @tanstack/router-devtools-core ≥ 1.167.9 < 1.167.10 1.167.10 npm install @tanstack/router-devtools-core@1.167.10
npm @tanstack/router-generator ≥ 1.166.45 < 1.166.49 1.166.49 npm install @tanstack/router-generator@1.166.49
npm @tanstack/router-generator ≥ 1.166.48 < 1.166.49 1.166.49 npm install @tanstack/router-generator@1.166.49
npm @tanstack/router-plugin ≥ 1.167.38 < 1.167.42 1.167.42 npm install @tanstack/router-plugin@1.167.42
npm @tanstack/router-plugin ≥ 1.167.41 < 1.167.42 1.167.42 npm install @tanstack/router-plugin@1.167.42
npm @tanstack/router-ssr-query-core ≥ 1.168.3 < 1.168.7 1.168.7 npm install @tanstack/router-ssr-query-core@1.168.7
npm @tanstack/router-ssr-query-core ≥ 1.168.6 < 1.168.7 1.168.7 npm install @tanstack/router-ssr-query-core@1.168.7
npm @tanstack/router-utils ≥ 1.161.11 < 1.161.15 1.161.15 npm install @tanstack/router-utils@1.161.15
npm @tanstack/router-utils ≥ 1.161.14 < 1.161.15 1.161.15 npm install @tanstack/router-utils@1.161.15

Per OSV / GitHub Advisories (GHSA-g7cv-rxg3-hmpx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
tanstacktanstack/arktype-adapter1.166.12
tanstacktanstack/arktype-adapter1.166.15
tanstacktanstack/eslint-plugin-router1.161.9
tanstacktanstack/eslint-plugin-router1.161.12
tanstacktanstack/eslint-plugin-start0.0.4
tanstacktanstack/eslint-plugin-start0.0.7
tanstacktanstack/history1.161.9
tanstacktanstack/history1.161.12
tanstacktanstack/nitro-v2-vite-plugin1.154.12
tanstacktanstack/nitro-v2-vite-plugin1.154.15
tanstacktanstack/react-router1.169.5
tanstacktanstack/react-router1.169.8
tanstacktanstack/react-router-devtools1.166.16
tanstacktanstack/react-router-devtools1.166.19
tanstacktanstack/react-router-ssr-query1.166.15
tanstacktanstack/react-router-ssr-query1.166.18
tanstacktanstack/react-start1.167.68
tanstacktanstack/react-start1.167.71
tanstacktanstack/react-start-client1.166.51
tanstacktanstack/react-start-client1.166.54
tanstacktanstack/react-start-rsc0.0.47
tanstacktanstack/react-start-rsc0.0.50
tanstacktanstack/react-start-server1.166.55
tanstacktanstack/react-start-server1.166.58
tanstacktanstack/router-cli1.166.46
tanstacktanstack/router-cli1.166.49
tanstacktanstack/router-core1.169.5
tanstacktanstack/router-core1.169.8
tanstacktanstack/router-devtools1.166.16
tanstacktanstack/router-devtools1.166.19
tanstacktanstack/router-devtools-core1.167.6
tanstacktanstack/router-devtools-core1.167.9
tanstacktanstack/router-generator1.166.45
tanstacktanstack/router-generator1.166.48
tanstacktanstack/router-plugin1.167.38
tanstacktanstack/router-plugin1.167.41
tanstacktanstack/router-ssr-query-core1.168.3
tanstacktanstack/router-ssr-query-core1.168.6
tanstacktanstack/router-utils1.161.11
tanstacktanstack/router-utils1.161.14
tanstacktanstack/router-vite-plugin1.166.53
tanstacktanstack/router-vite-plugin1.166.56
tanstacktanstack/solid-router1.169.5
tanstacktanstack/solid-router1.169.8
tanstacktanstack/solid-router-devtools1.166.16
tanstacktanstack/solid-router-devtools1.166.19
tanstacktanstack/solid-router-ssr-query1.166.15
tanstacktanstack/solid-router-ssr-query1.166.18
tanstacktanstack/solid-start1.167.65
tanstacktanstack/solid-start1.167.68
tanstacktanstack/solid-start-client1.166.50
tanstacktanstack/solid-start-client1.166.53
tanstacktanstack/solid-start-server1.166.54
tanstacktanstack/solid-start-server1.166.57
tanstacktanstack/start-client-core1.168.5
tanstacktanstack/start-client-core1.168.8
tanstacktanstack/start-fn-stubs1.161.9
tanstacktanstack/start-fn-stubs1.161.12
tanstacktanstack/start-plugin-core1.169.23
tanstacktanstack/start-plugin-core1.169.26

and 283 more in the JSON

Official sources

References

Links published by the sources. Open them with care.