CVEfocus › CVE database › CVE-2026-45321

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

Known exploited (CISA KEV) · ransomwareCVSS 9.6 CriticalEPSS 3.3% (higher than 89% of CVEs)Published 2026-05-12Updated 2026-08-04Assigner: GitHub_M

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.

CWE-506

What to do

This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2026-05-27). If you run an affected version, patch or mitigate now.

Fixed builds are available from npm: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

42Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
npm library@tanstack/arktype-adapterFixed1.166.16GHSA-g7cv-rxg3-hmpx
npm library@tanstack/eslint-plugin-routerFixed1.161.13GHSA-g7cv-rxg3-hmpx
npm library@tanstack/eslint-plugin-startFixed0.0.8GHSA-g7cv-rxg3-hmpx
npm library@tanstack/historyFixed1.161.13GHSA-g7cv-rxg3-hmpx
npm library@tanstack/nitro-v2-vite-pluginFixed1.154.16GHSA-g7cv-rxg3-hmpx
npm library@tanstack/react-routerFixed1.169.9GHSA-g7cv-rxg3-hmpx
npm library@tanstack/react-router-devtoolsFixed1.166.20GHSA-g7cv-rxg3-hmpx
npm library@tanstack/react-router-ssr-queryFixed1.166.19GHSA-g7cv-rxg3-hmpx
npm library@tanstack/react-startFixed1.167.72GHSA-g7cv-rxg3-hmpx
npm library@tanstack/react-start-clientFixed1.166.55GHSA-g7cv-rxg3-hmpx
npm library@tanstack/react-start-rscFixed0.0.51GHSA-g7cv-rxg3-hmpx
npm library@tanstack/react-start-serverFixed1.166.59GHSA-g7cv-rxg3-hmpx
npm library@tanstack/router-cliFixed1.166.50GHSA-g7cv-rxg3-hmpx
npm library@tanstack/router-coreFixed1.169.9GHSA-g7cv-rxg3-hmpx
npm library@tanstack/router-devtoolsFixed1.166.20GHSA-g7cv-rxg3-hmpx
npm library@tanstack/router-devtools-coreFixed1.167.10GHSA-g7cv-rxg3-hmpx
npm library@tanstack/router-generatorFixed1.166.49GHSA-g7cv-rxg3-hmpx
npm library@tanstack/router-pluginFixed1.167.42GHSA-g7cv-rxg3-hmpx
npm library@tanstack/router-ssr-query-coreFixed1.168.7GHSA-g7cv-rxg3-hmpx
npm library@tanstack/router-utilsFixed1.161.15GHSA-g7cv-rxg3-hmpx
npm library@tanstack/router-vite-pluginFixed1.166.57GHSA-g7cv-rxg3-hmpx
npm library@tanstack/solid-routerFixed1.169.9GHSA-g7cv-rxg3-hmpx
npm library@tanstack/solid-router-devtoolsFixed1.166.20GHSA-g7cv-rxg3-hmpx
npm library@tanstack/solid-router-ssr-queryFixed1.166.19GHSA-g7cv-rxg3-hmpx
npm library@tanstack/solid-startFixed1.167.69GHSA-g7cv-rxg3-hmpx
npm library@tanstack/solid-start-clientFixed1.166.54GHSA-g7cv-rxg3-hmpx
npm library@tanstack/solid-start-serverFixed1.166.58GHSA-g7cv-rxg3-hmpx
npm library@tanstack/start-client-coreFixed1.168.9GHSA-g7cv-rxg3-hmpx
npm library@tanstack/start-fn-stubsFixed1.161.13GHSA-g7cv-rxg3-hmpx
npm library@tanstack/start-plugin-coreFixed1.169.27GHSA-g7cv-rxg3-hmpx
npm library@tanstack/start-server-coreFixed1.167.37GHSA-g7cv-rxg3-hmpx
npm library@tanstack/start-static-server-functionsFixed1.166.48GHSA-g7cv-rxg3-hmpx
npm library@tanstack/start-storage-contextFixed1.166.42GHSA-g7cv-rxg3-hmpx
npm library@tanstack/valibot-adapterFixed1.166.16GHSA-g7cv-rxg3-hmpx
npm library@tanstack/virtual-file-routesFixed1.161.14GHSA-g7cv-rxg3-hmpx
npm library@tanstack/vue-routerFixed1.169.9GHSA-g7cv-rxg3-hmpx
npm library@tanstack/vue-router-devtoolsFixed1.166.20GHSA-g7cv-rxg3-hmpx
npm library@tanstack/vue-router-ssr-queryFixed1.166.19GHSA-g7cv-rxg3-hmpx
npm library@tanstack/vue-startFixed1.167.65GHSA-g7cv-rxg3-hmpx
npm library@tanstack/vue-start-clientFixed1.166.50GHSA-g7cv-rxg3-hmpx
npm library@tanstack/vue-start-serverFixed1.166.54GHSA-g7cv-rxg3-hmpx
npm library@tanstack/zod-adapterFixed1.166.16GHSA-g7cv-rxg3-hmpx

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.