Article
Why CVSS Scores Are Lying to Your Security Team (And What to Use Instead)
CVSS scores show worst-case severity, not attacker behavior. See how EPSS, the CISA KEV catalog and SSVC help you decide which flaws to fix…
Quick links
Press Enter to search, Esc to close
Exploited vulnerability
CVE-2026-45321 is not a flaw in TanStack's router code.
In short
CVE-2026-45321 is not a flaw in TanStack's router code. It is the number given to 84 malicious versions of 42 TanStack packages that an attacker published to the npm registry on 11 May 2026 under the project's own trusted identity. CISA lists it as an exploited vulnerability that let credential-stealing malware be published.
Anyone who installed an affected version ran a hidden 2.3 MB script at install time. It harvested AWS, Google Cloud, Kubernetes, Vault, npm and GitHub credentials and SSH keys, and sent them out over the Session messenger network. It also looked up other npm packages the victim maintains and republished them with the same code. The CVSS v3.1 score is 9.6 (supplied by GitHub, which assigned the record). NVD shows no score of its own.
Per the GitHub advisory, 84 versions across 42 @tanstack packages, two per package, published between about 19:20 and 19:26 UTC on 11 May 2026. For example, @tanstack/react-router 1.169.5 and 1.169.8 are bad and 1.169.9 is the patched version. The maintainers say the Query, Table, Form and Virtual families were not affected. Any machine or build that installed an affected version on 11 May 2026 should be treated as compromised.
First exploitation, as the advisory states it: 11 May 2026, 19:20 to 19:26 UTC. The attacker chained three known weaknesses: a risky pull request workflow, a poisoned build cache and a short-lived publishing token pulled from the build runner's memory. The publish workflow itself was not changed, so the packages looked genuine. Per the Nx advisory, the same incident leaked a developer's GitHub token that was then used for the Nx Console compromise a week later.
NVD published the record on 12 May 2026, and its CISA entry lists exploitation as active. CISA added it to the Known Exploited Vulnerabilities (KEV) catalog on 27 May 2026 with a due date of 10 June 2026. The KEV entry flags known ransomware campaign use as Known. The sources opened here describe no ransomware group or ransomware attack tied to this compromise.
Attributed by CERT-EU, 2 June 2026, to the threat actor TeamPCP, in its Cyber Brief for May 2026. CERT-EU calls the worm Mini Shai-Hulud and says it affected ecosystems tied to TanStack, Mistral AI, UiPath and OpenSearch. The GitHub advisory and the NVD record name no actor.
Search lockfiles, caches and mirrors for the versions in the GitHub advisory. Update each package to the patched version it lists, delete node_modules and the lockfile, and reinstall.
The advisory says anything that installed an affected version on 11 May 2026 is compromised, and all credentials reachable by the install should be rotated at once. Review cloud audit logs for activity from those hosts.
Until clean releases are in use, the advisory suggests pinning TanStack packages to versions from before 11 May 2026 19:00 UTC and setting npm to skip install scripts. Audit CI pipelines that installed during the window.
The advisory says the stolen data goes to an encrypted network with no attacker-run server, so blocking by IP or domain is the only network control. It lists filev2.getsession.org and seed1, seed2 and seed3.getsession.org.
Inspect a package's manifest without running scripts (npm pack, then read package.json). A bad one lists an optional dependency named @tanstack/setup pointing to a GitHub commit, and ships a file named router_init.js of about 2.3 MB at the package root.
It is the number given to 84 malicious versions of 42 TanStack npm packages that an attacker published on 11 May 2026 under the project's own trusted identity. It is not a flaw in TanStack's router code.
The hidden script ran at install time and harvested AWS, Google Cloud, Kubernetes, Vault, npm and GitHub credentials and SSH keys. It sent them out over the Session messenger network and republished other npm packages the victim maintains.
Per the GitHub advisory, 84 versions across 42 @tanstack packages were affected, two per package. The maintainers say the Query, Table, Form and Virtual families were not affected. For example, @tanstack/react-router 1.169.9 is the patched version.
Treat any machine or build that installed an affected version on 11 May 2026 as compromised. Move to a patched version and rotate the cloud, npm and GitHub credentials and SSH keys that were reachable from it.
Yes. CISA added it to the Known Exploited Vulnerabilities catalog on 27 May 2026 with a due date of 10 June 2026. CERT-EU attributes the wider worm activity to the threat actor TeamPCP.
Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.