patchminder
Exploited in the wild · CISA KEV Used by ransomware CVE-2026-45321

Vulnerabilityin TanStack.

Published 12 May 2026 · Updated 4 Aug 2026 · Every fact sourced

JSONCite
Is it exploited?
Yes

On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 27 May 2026. Ransomware groups use it too.

On CISA's listKnown ransomware useAttack code is public
Severity
Critical 9.6
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 3.3% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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.

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.

What to do now
  • CISA requires US federal agencies to fix it by 10 Jun 2026.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
arktype-adapter
1.166.12
Not confirmed
CVE record
arktype-adapter
1.166.15
Not confirmed
CVE record
eslint-plugin-router
1.161.9
Not confirmed
CVE record
eslint-plugin-router
1.161.12
Not confirmed
CVE record
eslint-plugin-start
0.0.4
Not confirmed
CVE record
eslint-plugin-start
0.0.7
Not confirmed
CVE record
history
1.161.9
Not confirmed
CVE record
history
1.161.12
Not confirmed
CVE record
nitro-v2-vite-plugin
1.154.12
Not confirmed
CVE record
nitro-v2-vite-plugin
1.154.15
Not confirmed
CVE record
react-router
1.169.5
Not confirmed
CVE record
react-router
1.169.8
Not confirmed
CVE record
react-router-devtools
1.166.16
Not confirmed
CVE record
react-router-devtools
1.166.19
Not confirmed
CVE record
react-router-ssr-query
1.166.15
Not confirmed
CVE record
react-router-ssr-query
1.166.18
Not confirmed
CVE record
react-start
1.167.68
Not confirmed
CVE record
react-start
1.167.71
Not confirmed
CVE record
react-start-client
1.166.51
Not confirmed
CVE record
react-start-client
1.166.54
Not confirmed
CVE record
react-start-rsc
0.0.47
Not confirmed
CVE record
react-start-rsc
0.0.50
Not confirmed
CVE record
react-start-server
1.166.55
Not confirmed
CVE record
react-start-server
1.166.58
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 11 May 2026
    CVE ID reserved by GitHub_M.
  2. 12 May 2026
    Published in the CVE List.
  3. 12 May 2026
    First public proof of concept on GitHub.
  4. 27 May 2026
    Added to CISA's Known Exploited Vulnerabilities list.
  5. 27 May 2026
    CISA lists known use in ransomware campaigns.
  6. 4 Aug 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
13 repositories
GitHubno warning signs foundIntrudify/mini-shai-hulud-scanner3 stars · created 13 May 2026Scanner for the Mini Shai-Hulud npm/PyPI supply chain worm (NHS CC-4781 · CVE-2026-45321). Detects gh-token-monitor persistence, payload artefacts, and attacker commits. Python, Bash, PowerShell.
GitHubno warning signs foundfabriziosalmi/tanstack-compromise-checker2 stars · created 16 May 2026Shell script to detect TanStack npm supply chain attack indicators (CVE-2026-45321 / GHSA-g7cv-rxg3-hmpx)
GitHubno warning signs foundqi-scape/scan-shai-hulud1 stars · created 12 May 2026Detect CVE-2026-45321 Mini Shai-Hulud supply chain compromise · scans for 170 npm + 2 PyPI poisoned packages across TanStack, Mistral AI, UiPath, OpenSearch, Guardrails AI
GitHubno warning signs foundshayr1/shai-hulud-scan1 stars · created 12 May 2026Claude Code skill to scan machines for Mini Shai-Hulud (CVE-2026-45321) supply chain worm IOCs
GitHubno warning signs foundnkopylov/tanscript-exploit-check1 stars · created 18 May 2026IOC checker for the TanStack/Mini Shai-Hulud npm supply chain attack (CVE-2026-45321)
GitHubno warning signs foundLappy000/lockfile-lint1 stars · created 21 May 2026Fast lockfile security scanner for npm, pnpm and yarn. Flags known-malicious package versions (CVE-2026-45321), typosquats, missing integrity and untrusted registries. JSON and SARIF output.
GitHubno warning signs foundry-allan/tanstack-compromise-checker0 stars · created 12 May 2026Detects CVE-2026-45321 (TanStack supply chain compromise) and Mini Shai-Hulud worm artifacts. Scans node_modules, lockfiles, persistence hooks (Claude Code, VS Code, systemd, LaunchAgent), GitHub work
GitHubno warning signs foundYomisana/are-you-get-tanstack-attack0 stars · created 12 May 2026Are you get Tanstack Supply chain attack attack of 5/11? CVE-2026-45321 / GHSA-g7cv-rxg3-hmpx
GitHubno warning signs foundCaixa-git/tanstack-shield0 stars · created 12 May 2026🛡️ One-command scanner for CVE-2026-45321 · TanStack npm supply-chain attack
GitHubno warning signs founddigi4care/shai-scan0 stars · created 16 May 2026Zero-dependency CLI scanner for npm/PyPI supply chain compromises. Detects compromised packages in lockfiles and system-level IOCs from attacks like Mini Shai-Hulud (CVE-2026-45321).

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Same weakness:

All CWE-506 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-45321: Vulnerability in TanStack. https://patchminder.com/cve/cve-2026-45321/ (accessed 5 December 2026).