CVE-2026-45321
CVE-2026-45321 — Malware in 42 @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys
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.
Published Updated Sources: NVD, @tanstack (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed May 27, 2026
EPSS
1%
ahead of 64% of scored CVEs
CVSS base
9.6
critical
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade @tanstack/arktype-adapter to 1.166.16 or later (npm advisory GHSA-g7cv-rxg3-hmpx).
CISA 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.
Federal deadline Jun 10, 2026 — passed 177 days ago
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| @Tanstack | arktype-adapter | 1.166.12 | Vulnerable |
| @Tanstack | arktype-adapter | 1.166.15 | Vulnerable |
| @Tanstack | eslint-plugin-router | 1.161.9 | Vulnerable |
| @Tanstack | eslint-plugin-router | 1.161.12 | Vulnerable |
| @Tanstack | eslint-plugin-start | 0.0.4 | Vulnerable |
| @Tanstack | eslint-plugin-start | 0.0.7 | Vulnerable |
| @Tanstack | history | 1.161.9 | Vulnerable |
| @Tanstack | history | 1.161.12 | Vulnerable |
| @Tanstack | nitro-v2-vite-plugin | 1.154.12 | Vulnerable |
| @Tanstack | nitro-v2-vite-plugin | 1.154.15 | Vulnerable |
| @Tanstack | react-router | 1.169.5 | Vulnerable |
| @Tanstack | react-router | 1.169.8 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Changed
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
Required
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.6 | CVSS 3.1 | critical | 2.8 | 6 | GitHub (CNA), @tanstack (CNA), GHSA |
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-506 · Embedded Malicious Code
- Execute Unauthorized Code or Commands::
Mitigation: Remove the malicious code and start an effort to ensure that no more malicious code exists. This may require a detailed review of all code, as it is possible to hide a serious attack in only one or two lines of code. These lines may be located almost anywhere in an application and may have been intentionally obfuscated by the attacker.::
Weakness & attack patterns
- CWE-506
Inferred from the weakness class — not observed against this CVE.
- T1195.001Supply Chain Compromise: Compromise Software Dependencies and Development Tools
- T1195.002Supply Chain Compromise: Compromise Software Supply Chain
- T1027.009Obfuscated Files or Information: Embedded Payloads
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
May 27, 2026
Federal deadline
Jun 10, 2026
passed 177 days ago
Ransomware use
Known
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
53
1 of the 5 sampled are weaponized
Exploit entries
2
Exploit-DB and CTI exploit indexes
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
CVE-2026-45321: TanStack npm Supply Chain Compromise — What It Means for Your Business and How to Respond https://t.co/VxhoKAIuX4
@integ_sec· Sep 21, 2026
BREAKING: CrowdSec confirms ~170 private GitHub repos copied via ex-employee token after TanStack npm stealer. Archive also had 83 user emails + 51 investor contacts. Devs: revoke leaver GitHub access same day; audit TanStack CVE-2026-45321 exposure. https://t.co/BNx6XEKXPK
@BreachHistoryBH· Sep 20, 2026
🚨 SUPPLY CHAIN ATTACK ALERT! 170 private @CrowdSec GitHub repos were STOLEN through the TanStack npm attack (CVE-2026-45321) 😱 Here's the scary part: • Attack happened May 22 • Wasn't discovered until Sept 16 • A former employee's account was the entry point • Stolen code https://t.co/Ny6gmBLuHa
@mazin_dr38737· Sep 20, 2026
One ex-employee's GitHub OAuth token, left active "so he could finish some work", was enough to clone 170 private repositories. The token left no trace in the audit logs they could check. GitHub support had to trace it back. Root cause: CVE-2026-45321.
@jere_knh2· Sep 20, 2026
El 11 de mayo se publicaron 84 versiones maliciosas de 42 paquetes de TanStack en npm, CVE-2026-45321. Instalar una sola de esas versiones ejecutaba código que se llevaba los tokens de GitHub, las claves SSH y las credenciales de nube de esa máquina.
@jere_knh2· Sep 20, 2026
32 more posts on this CVEShowing 5 of 37 · Who is discussing this CVE, and how loudlyUnlock freeDetection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /*, /router.
- Prioritize edge telemetry for network-reachable Arktype-adapter, Eslint-plugin-router, Eslint-plugin-start, History, Nitro-v2-vite-plugin, React-router, React-router-devtools, React-router-ssr-query, React-start, React-start-client, React-start-rsc, React-start-server, Router-cli, Router-core, Router-devtools, Router-devtools-core, Router-generator, Router-plugin, Router-ssr-query-core, Router-utils, Outer-vite-plugin, Solid-router, Solid-router-devtools, Solid-router-ssr-query, Solid-start, Solid-start-client, Solid-start-server, Start-client-core, Start-fn-stubs, Start-plugin-core, Start-server-core, Start-static-server-functions, Start-storage-context, Valibot-adapter, Virtual-file-routes, Vue-router, Vue-router-devtools, Vue-router-ssr-query, Vue-start, Vue-start-client, Vue-start-server, Zod-adapter, @tanstack/arktype-adapter, @tanstack/eslint-plugin-router, @tanstack/eslint-plugin-start, @tanstack/history, @tanstack/nitro-v2-vite-plugin, @tanstack/react-router, @tanstack/react-router-devtools, @tanstack/react-router-ssr-query, @tanstack/react-start, @tanstack/react-start-client, @tanstack/react-start-rsc, @tanstack/react-start-server, @tanstack/router-cli, @tanstack/router-core, @tanstack/router-devtools, @tanstack/router-devtools-core, @tanstack/router-generator, @tanstack/router-plugin, @tanstack/router-ssr-query-core, @tanstack/router-utils, @tanstack/router-vite-plugin, @tanstack/solid-router, @tanstack/solid-router-devtools, @tanstack/solid-router-ssr-query, @tanstack/solid-start, @tanstack/solid-start-client, @tanstack/solid-start-server, @tanstack/start-client-core, @tanstack/start-fn-stubs, @tanstack/start-plugin-core, @tanstack/start-server-core, @tanstack/start-static-server-functions, @tanstack/start-storage-context, @tanstack/valibot-adapter, @tanstack/virtual-file-routes, @tanstack/vue-router, @tanstack/vue-router-devtools, @tanstack/vue-router-ssr-query, @tanstack/vue-start, @tanstack/vue-start-client, @tanstack/vue-start-server, @tanstack/zod-adapter.
- Monitor for scanner or exploit-pattern traffic after 55 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Cve is exploited TanStack Unspecified Vulnerability
Nov 20, 2026 · SOCRadar CTI
Added · CVSS 3.1 9.6 (AV:N)
Oct 26, 2026 · NVD
Added to CISA KEV catalog
May 27, 2026 · CISA
Initial · CVE published
May 12, 2026 · NVD
Added · GHSA-g7cv-rxg3-hmpx published (critical)
May 12, 2026 · GitHub Security Advisory
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 27×SVRS was changedJun 13, 2026 – Oct 18, 2026 · SOCRadar CTI
- 9×TweetsJun 14, 2026 – Sep 22, 2026 · SOCRadar CTI
- 2×Github ReposJun 21, 2026 – Jun 25, 2026 · SOCRadar CTI
References
8 on the record
- github.com/TanStack/router/issues/7383
Issue Tracking, Mitre, NIST
- github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx
Mitigation, Vendor Advisory, Mitre, NIST
- tanstack.com/blog/npm-supply-chain-compromise-postmortem
Exploit, Vendor Advisory, Mitre, NIST
- www.stepsecurity.io/blog/mini-shai-hulud-is-back-a-self-spreading-supply-chain-attack-hits-the-npm-ecosystem
Exploit, Third Party Advisory, Mitre, NIST
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-45321
US Government Resource, NIST
- socket.dev/blog/tanstack-npm-packages-compromised-mini-shai-hulud-supply-chain-attack
Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2026-45321
NVD, Vendor Advisory
- github.com/advisories/GHSA-g7cv-rxg3-hmpx
Exploit, Third Party Advisory
Coverage
15 stories from the feeds we poll
Weekly Cybersecurity Newsletter Bulletin – Cisco and Android 0-Day, BragJack Attack, Claude Opus 5 Used to Hack OpenAI, and 20+ Stories
cybersecuritynews.com · Sep 21, 2026
Microsoft's durabletask PyPI Package Compromised in Supply Chain Attack - StepSecurity
stepsecurity.io · May 16, 2026
CVE-2026-45321
vuldb.com · Aug 4, 2026
May 2026 CVE Landscape
recordedfuture.com · Jun 8, 2026
CISA Adds Three Known Exploited Vulnerabilities to Catalog
cisa.gov · May 27, 2026
10 more reports on this CVEShowing 5 of 15 · Vendor research and security press coverageUnlock freeRelated CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-48027 Compromised Nx Console version 18.95.0CVSS 9.8 · CISA KEV
- CVE-2026-8398 Daemon Tools Lite Embedded Malicious Code VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-59374 ASUS Live Update Embedded Malicious Code VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-33634 Trivy ecosystem supply chain briefly compromisedCVSS 8.8 · CISA KEV
- CVE-2025-30154 reviewdog/action-setup GitHub Action Embedded Malicious Code VulnerabilityCVSS 8.6 · CISA KEV
- CVE-2025-30066 tj-actions/changed-files GitHub Action Embedded Malicious Code VulnerabilityCVSS 8.6 · CISA KEV
Elsewhere on this site
- @Tanstackevery CVE for this vendor
- Npmevery CVE for this vendor
- arktype-adapterevery page on this product
- eslint-plugin-routerevery page on this product
- May 2026what else CISA listed
- Unclassifiedsame class
- CWE-506other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-45321 is Malware in 42 @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys, a critical vulnerability affecting Arktype-adapter, Eslint-plugin-router, Eslint-plugin-start, History, Nitro-v2-vite-plugin, React-router, React-router-devtools, React-router-ssr-query, React-start, React-start-client, React-start-rsc, React-start-server, Router-cli, Router-core, Router-devtools, Router-devtools-core, Router-generator, Router-plugin, Router-ssr-query-core, Router-utils, Outer-vite-plugin, Solid-router, Solid-router-devtools, Solid-router-ssr-query, Solid-start, Solid-start-client, Solid-start-server, Start-client-core, Start-fn-stubs, Start-plugin-core, Start-server-core, Start-static-server-functions, Start-storage-context, Valibot-adapter, Virtual-file-routes, Vue-router, Vue-router-devtools, Vue-router-ssr-query, Vue-start, Vue-start-client, Vue-start-server, Zod-adapter, @tanstack/arktype-adapter, @tanstack/eslint-plugin-router, @tanstack/eslint-plugin-start, @tanstack/history, @tanstack/nitro-v2-vite-plugin, @tanstack/react-router, @tanstack/react-router-devtools, @tanstack/react-router-ssr-query, @tanstack/react-start, @tanstack/react-start-client, @tanstack/react-start-rsc, @tanstack/react-start-server, @tanstack/router-cli, @tanstack/router-core, @tanstack/router-devtools, @tanstack/router-devtools-core, @tanstack/router-generator, @tanstack/router-plugin, @tanstack/router-ssr-query-core, @tanstack/router-utils, @tanstack/router-vite-plugin, @tanstack/solid-router, @tanstack/solid-router-devtools, @tanstack/solid-router-ssr-query, @tanstack/solid-start, @tanstack/solid-start-client, @tanstack/solid-start-server, @tanstack/start-client-core, @tanstack/start-fn-stubs, @tanstack/start-plugin-core, @tanstack/start-server-core, @tanstack/start-static-server-functions, @tanstack/start-storage-context, @tanstack/valibot-adapter, @tanstack/virtual-file-routes, @tanstack/vue-router, @tanstack/vue-router-devtools, @tanstack/vue-router-ssr-query, @tanstack/vue-start, @tanstack/vue-start-client, @tanstack/vue-start-server, @tanstack/zod-adapter from @tanstack, Npm. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 55 public PoC repositories reported; 1 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.6 describes technical severity, while EPSS 1% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.