Skip to content
porro

Advisories  /  npm  /  @tanstack/arktype-adapter  /  CVE-2026-45321

Exploited in the wild CRITICAL9.6 npm

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

CVE-2026-45321 GHSA-g7cv-rxg3-hmpx Published 12 May 2026

Affects 42 packages. Each has a fixed release.

$ npm install @tanstack/arktype-adapter@^1.166.16
$ npm install @tanstack/eslint-plugin-router@^1.161.13
$ npm install @tanstack/eslint-plugin-start@^0.0.8
$ npm install @tanstack/history@^1.161.13
$ npm install @tanstack/nitro-v2-vite-plugin@^1.154.16
$ npm install @tanstack/react-router@^1.169.9

Which versions are affected

Package Affected Fixed in
@tanstack/arktype-adapter ≥ 1.166.12, < 1.166.16≥ 1.166.15, < 1.166.16 1.166.16
@tanstack/eslint-plugin-router ≥ 1.161.9, < 1.161.13≥ 1.161.12, < 1.161.13 1.161.13
@tanstack/eslint-plugin-start ≥ 0.0.4, < 0.0.8≥ 0.0.7, < 0.0.8 0.0.8
@tanstack/history ≥ 1.161.9, < 1.161.13≥ 1.161.12, < 1.161.13 1.161.13
@tanstack/nitro-v2-vite-plugin ≥ 1.154.12, < 1.154.16≥ 1.154.15, < 1.154.16 1.154.16
@tanstack/react-router ≥ 1.169.5, < 1.169.9≥ 1.169.8, < 1.169.9 1.169.9
@tanstack/react-router-devtools ≥ 1.166.16, < 1.166.20≥ 1.166.19, < 1.166.20 1.166.20
@tanstack/react-router-ssr-query ≥ 1.166.15, < 1.166.19≥ 1.166.18, < 1.166.19 1.166.19
@tanstack/react-start ≥ 1.167.68, < 1.167.72≥ 1.167.71, < 1.167.72 1.167.72
@tanstack/react-start-client ≥ 1.166.51, < 1.166.55≥ 1.166.54, < 1.166.55 1.166.55
@tanstack/react-start-rsc ≥ 0.0.47, < 0.0.51≥ 0.0.50, < 0.0.51 0.0.51
@tanstack/react-start-server ≥ 1.166.55, < 1.166.59≥ 1.166.58, < 1.166.59 1.166.59
@tanstack/router-cli ≥ 1.166.46, < 1.166.50≥ 1.166.49, < 1.166.50 1.166.50
@tanstack/router-core ≥ 1.169.5, < 1.169.9≥ 1.169.8, < 1.169.9 1.169.9
@tanstack/router-devtools ≥ 1.166.16, < 1.166.20≥ 1.166.19, < 1.166.20 1.166.20
@tanstack/router-devtools-core ≥ 1.167.6, < 1.167.10≥ 1.167.9, < 1.167.10 1.167.10
@tanstack/router-generator ≥ 1.166.45, < 1.166.49≥ 1.166.48, < 1.166.49 1.166.49
@tanstack/router-plugin ≥ 1.167.38, < 1.167.42≥ 1.167.41, < 1.167.42 1.167.42
@tanstack/router-ssr-query-core ≥ 1.168.3, < 1.168.7≥ 1.168.6, < 1.168.7 1.168.7
@tanstack/router-utils ≥ 1.161.11, < 1.161.15≥ 1.161.14, < 1.161.15 1.161.15
@tanstack/router-vite-plugin ≥ 1.166.53, < 1.166.57≥ 1.166.56, < 1.166.57 1.166.57
@tanstack/solid-router ≥ 1.169.5, < 1.169.9≥ 1.169.8, < 1.169.9 1.169.9
@tanstack/solid-router-devtools ≥ 1.166.16, < 1.166.20≥ 1.166.19, < 1.166.20 1.166.20
@tanstack/solid-router-ssr-query ≥ 1.166.15, < 1.166.19≥ 1.166.18, < 1.166.19 1.166.19
@tanstack/solid-start ≥ 1.167.65, < 1.167.69≥ 1.167.68, < 1.167.69 1.167.69
@tanstack/solid-start-client ≥ 1.166.50, < 1.166.54≥ 1.166.53, < 1.166.54 1.166.54
@tanstack/solid-start-server ≥ 1.166.54, < 1.166.58≥ 1.166.57, < 1.166.58 1.166.58
@tanstack/start-client-core ≥ 1.168.5, < 1.168.9≥ 1.168.8, < 1.168.9 1.168.9
@tanstack/start-fn-stubs ≥ 1.161.9, < 1.161.13≥ 1.161.12, < 1.161.13 1.161.13
@tanstack/start-plugin-core ≥ 1.169.23, < 1.169.27≥ 1.169.26, < 1.169.27 1.169.27
@tanstack/start-server-core ≥ 1.167.33, < 1.167.37≥ 1.167.36, < 1.167.37 1.167.37
@tanstack/start-static-server-functions ≥ 1.166.44, < 1.166.48≥ 1.166.47, < 1.166.48 1.166.48
@tanstack/start-storage-context ≥ 1.166.38, < 1.166.42≥ 1.166.41, < 1.166.42 1.166.42
@tanstack/valibot-adapter ≥ 1.166.12, < 1.166.16≥ 1.166.15, < 1.166.16 1.166.16
@tanstack/virtual-file-routes ≥ 1.161.10, < 1.161.14≥ 1.161.13, < 1.161.14 1.161.14
@tanstack/vue-router ≥ 1.169.5, < 1.169.9≥ 1.169.8, < 1.169.9 1.169.9
@tanstack/vue-router-devtools ≥ 1.166.16, < 1.166.20≥ 1.166.19, < 1.166.20 1.166.20
@tanstack/vue-router-ssr-query ≥ 1.166.15, < 1.166.19≥ 1.166.18, < 1.166.19 1.166.19
@tanstack/vue-start ≥ 1.167.61, < 1.167.65≥ 1.167.64, < 1.167.65 1.167.65
@tanstack/vue-start-client ≥ 1.166.46, < 1.166.50≥ 1.166.49, < 1.166.50 1.166.50
@tanstack/vue-start-server ≥ 1.166.50, < 1.166.54≥ 1.166.53, < 1.166.54 1.166.54
@tanstack/zod-adapter ≥ 1.166.12, < 1.166.16≥ 1.166.15, < 1.166.16 1.166.16

Check a site from its project folder: npm ls @tanstack/arktype-adapter shows the installed version. Or paste the lock file into the lock file checker to check every package at once.

Timeline

  1. Advisory published, with a fix
  2. Added to CISA’s exploited list

Questions

Which version of @tanstack/arktype-adapter is safe from CVE-2026-45321?

1.166.16 and later. Versions affected: ≥ 1.166.12, < 1.166.16, ≥ 1.166.15, < 1.166.16.

Which version of @tanstack/eslint-plugin-router is safe from CVE-2026-45321?

1.161.13 and later. Versions affected: ≥ 1.161.9, < 1.161.13, ≥ 1.161.12, < 1.161.13.

Which version of @tanstack/eslint-plugin-start is safe from CVE-2026-45321?

0.0.8 and later. Versions affected: ≥ 0.0.4, < 0.0.8, ≥ 0.0.7, < 0.0.8.

Which version of @tanstack/history is safe from CVE-2026-45321?

1.161.13 and later. Versions affected: ≥ 1.161.9, < 1.161.13, ≥ 1.161.12, < 1.161.13.

Which version of @tanstack/nitro-v2-vite-plugin is safe from CVE-2026-45321?

1.154.16 and later. Versions affected: ≥ 1.154.12, < 1.154.16, ≥ 1.154.15, < 1.154.16.

Which version of @tanstack/react-router is safe from CVE-2026-45321?

1.169.9 and later. Versions affected: ≥ 1.169.5, < 1.169.9, ≥ 1.169.8, < 1.169.9.

Which version of @tanstack/react-router-devtools is safe from CVE-2026-45321?

1.166.20 and later. Versions affected: ≥ 1.166.16, < 1.166.20, ≥ 1.166.19, < 1.166.20.

Which version of @tanstack/react-router-ssr-query is safe from CVE-2026-45321?

1.166.19 and later. Versions affected: ≥ 1.166.15, < 1.166.19, ≥ 1.166.18, < 1.166.19.