CVE-2026-45321: TanStack Unspecified Vulnerability
Yes. CVE-2026-45321 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 27 May 2026. It is known to have been used in ransomware campaigns. We found no public exploit code for it in Exploit-DB, Metasploit or Nuclei, so the attacks rely on tooling that is not openly published in those sources. EPSS puts the chance of further exploitation attempts in the next 30 days at 3.3%.
- Exploited in real attacks
- Yes. On CISA's exploited list since 27 May 2026
- Used in ransomware
- Yes, known ransomware use
- Public exploit code
- None found in Exploit-DB, Metasploit or Nuclei
- Chance of exploitation (EPSS)
- 3.3% in the next 30 days, higher than 88.8% of scored vulnerabilities. Scored 5 December 2026
- Severity (CVSS)
- 9.6 Critical (version 3.1)
- Affects
- TanStack TanStack
- Type of flaw
- Embedded Malicious Code (CWE-506)
- Published
- 12 May 2026
- US federal patch deadline
- 10 June 2026
What it is
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.
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.
Description from the CVE record.
Is CVE-2026-45321 being exploited?
Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2026-45321 on 27 May 2026. That was 15 days after the CVE was published. CISA also marks it as known to be used in ransomware campaigns.
Affected products
- @tanstack arktype-adapter: 1.166.12; 1.166.15
- @tanstack eslint-plugin-router: 1.161.9; 1.161.12
- @tanstack eslint-plugin-start: 0.0.4; 0.0.7
- @tanstack history: 1.161.9; 1.161.12
- @tanstack nitro-v2-vite-plugin: 1.154.12; 1.154.15
- @tanstack react-router: 1.169.5; 1.169.8
- @tanstack react-router-devtools: 1.166.16; 1.166.19
- @tanstack react-router-ssr-query: 1.166.15; 1.166.18
- @tanstack react-start: 1.167.68; 1.167.71
- @tanstack react-start-client: 1.166.51; 1.166.54
From the CVE record. Check the vendor advisory for the full list of fixed versions.
What to do
CISA's required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.
How to check whether you are exposed
- Find every copy. List each place TanStack runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
HackDrill
Find out whether this is reachable in your systems.
A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in TanStack. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.
Sources
- CVE record for CVE-2026-45321
- NVD entry
- CISA Known Exploited Vulnerabilities catalog, version 2026.12.04
- FIRST EPSS, scores dated 5 December 2026
- github.com (x_refsource_CONFIRM)
- github.com (x_refsource_MISC)
- tanstack.com (x_refsource_MISC)
- www.stepsecurity.io (x_refsource_MISC)
Machine-readable: /api/cve/CVE-2026-45321.json