Home / @tanstack / arktype-adapter / CVE-2026-45321
CVE-2026-45321: is it exploited, and which versions of @tanstack arktype-adapter are affected and fixed?
CVE-2026-45321 is an embedded Malicious Code vulnerability in @tanstack arktype-adapter, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on May 27, 2026, with a federal due date of June 10, 2026. Affected: @tanstack/arktype-adapter from 1.166.12 before 1.166.16, @tanstack/eslint-plugin-router from 1.161.9 before 1.161.13, @tanstack/eslint-plugin-start from 0.0.4 before 0.0.8 and 27 more (GitHub advisory GHSA-g7cv-rxg3-hmpx). Fixed in 1.166.16, 1.161.13, 0.0.8, 1.154.16 and 2 more (GitHub advisory GHSA-g7cv-rxg3-hmpx). Severity: Critical (9.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is 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.
From the CVE record by GitHub_M, last updated August 4, 2026, 03:56 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| @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 | |
| @tanstack | react-start-rsc | 0.0.47 0.0.50 | |
| @tanstack | react-start-server | 1.166.55 1.166.58 | |
| @tanstack | router-cli | 1.166.46 1.166.49 | |
| @tanstack | router-core | 1.169.5 1.169.8 | |
| @tanstack | router-devtools | 1.166.16 1.166.19 | |
| @tanstack | router-devtools-core | 1.167.6 1.167.9 | |
| @tanstack | router-generator | 1.166.45 1.166.48 | |
| @tanstack | router-plugin | 1.167.38 1.167.41 | |
| @tanstack | router-ssr-query-core | 1.168.3 1.168.6 | |
| @tanstack | router-utils | 1.161.11 1.161.14 | |
| @tanstack | outer-vite-plugin | 1.166.53 1.166.56 | |
| @tanstack | solid-router | 1.169.5 1.169.8 | |
| @tanstack | solid-router-devtools | 1.166.16 1.166.19 | |
| @tanstack | solid-router-ssr-query | 1.166.15 1.166.18 | |
| @tanstack | solid-start | 1.167.65 1.167.68 | |
| @tanstack | solid-start-client | 1.166.50 1.166.53 | |
| @tanstack | solid-start-server | 1.166.54 1.166.57 | |
| @tanstack | start-client-core | 1.168.5 1.168.8 | |
| @tanstack | start-fn-stubs | 1.161.9 1.161.12 | |
| @tanstack | start-plugin-core | 1.169.23 1.169.26 | |
| @tanstack | start-server-core | 1.167.33 1.167.36 | |
| @tanstack | start-static-server-functions | 1.166.44 1.166.47 | |
| @tanstack | start-storage-context | 1.166.38 1.166.41 | |
| @tanstack | valibot-adapter | 1.166.12 1.166.15 | |
| @tanstack | virtual-file-routes | 1.161.10 1.161.13 | |
| @tanstack | vue-router | 1.169.5 1.169.8 | |
| @tanstack | vue-router-devtools | 1.166.16 1.166.19 | |
| @tanstack | vue-router-ssr-query | 1.166.15 1.166.18 | |
| @tanstack | vue-start | 1.167.61 1.167.64 | |
| @tanstack | vue-start-client | 1.166.46 1.166.49 |
As the CVE record by GitHub_M states it, last updated August 4, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 8, 2026. Summary: Malware in @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| tanstack | tanstack\/arktype-adapter | 1.166.12 | application |
| tanstack | tanstack\/arktype-adapter | 1.166.15 | application |
| tanstack | tanstack\/eslint-plugin-router | 1.161.9 | application |
| tanstack | tanstack\/eslint-plugin-router | 1.161.12 | application |
| tanstack | tanstack\/eslint-plugin-start | 0.0.4 | application |
| tanstack | tanstack\/eslint-plugin-start | 0.0.7 | application |
| tanstack | tanstack\/history | 1.161.9 | application |
| tanstack | tanstack\/history | 1.161.12 | application |
| tanstack | tanstack\/nitro-v2-vite-plugin | 1.154.12 | application |
| tanstack | tanstack\/nitro-v2-vite-plugin | 1.154.15 | application |
| tanstack | tanstack\/react-router | 1.169.5 | application |
| tanstack | tanstack\/react-router | 1.169.8 | application |
| tanstack | tanstack\/react-router-devtools | 1.166.16 | application |
| tanstack | tanstack\/react-router-devtools | 1.166.19 | application |
| tanstack | tanstack\/react-router-ssr-query | 1.166.15 | application |
| tanstack | tanstack\/react-router-ssr-query | 1.166.18 | application |
| tanstack | tanstack\/react-start | 1.167.68 | application |
| tanstack | tanstack\/react-start | 1.167.71 | application |
| tanstack | tanstack\/react-start-client | 1.166.51 | application |
| tanstack | tanstack\/react-start-client | 1.166.54 | application |
| tanstack | tanstack\/react-start-rsc | 0.0.47 | application |
| tanstack | tanstack\/react-start-rsc | 0.0.50 | application |
| tanstack | tanstack\/react-start-server | 1.166.55 | application |
| tanstack | tanstack\/react-start-server | 1.166.58 | application |
| tanstack | tanstack\/router-cli | 1.166.46 | application |
NVD analysis (status Analyzed), last modified October 26, 2026, 18:10 UTC.
How severe is CVE-2026-45321?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-45321 exploited in the wild?
- CISA KEV
- Listed as TanStack Unspecified Vulnerability, added May 27, 2026; federal agencies must act by June 10, 2026
- 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.
- Ransomware use
- Known
- CISA's summary
- 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.
- CISA SSVC
- Exploitation: active; automatable: no; technical impact: total (CISA ADP, May 27, 2026)
- EPSS
- 3.28% probability of exploitation activity in the next 30 days, percentile 88.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-506 Embedded Malicious Code
Where are the vendor advisories and references?
- https://github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx x_refsource_CONFIRM
- https://github.com/TanStack/router/issues/7383 x_refsource_MISC
- https://tanstack.com/blog/npm-supply-chain-compromise-postmortem x_refsource_MISC
- https://www.stepsecurity.io/blog/mini-shai-hulud-is-back-a-self-spreading-supply-chain-attack-hits-the-npm-ecosystem x_refsource_MISC
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-45321 government-resource
When was it published, and where is the official record?
- Reserved
- May 11, 2026
- Published
- May 12, 2026, 00:12 UTC
- CVE record updated
- August 4, 2026, 03:56 UTC by GitHub_M
- NVD
- Analyzed, last modified October 26, 2026, 18:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
Questions about CVE-2026-45321
Is CVE-2026-45321 exploited in the wild?
Yes. CISA added CVE-2026-45321 to its Known Exploited Vulnerabilities catalog on May 27, 2026 and set federal agencies a due date of June 10, 2026. CISA lists it as used in ransomware campaigns. FIRST's EPSS gives it a 3.28% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of @tanstack arktype-adapter are affected by CVE-2026-45321?
@tanstack/arktype-adapter from 1.166.12 before 1.166.16, @tanstack/eslint-plugin-router from 1.161.9 before 1.161.13, @tanstack/eslint-plugin-start from 0.0.4 before 0.0.8, @tanstack/history from 1.161.9 before 1.161.13, @tanstack/nitro-v2-vite-plugin from 1.154.12 before 1.154.16, @tanstack/react-router from 1.169.5 before 1.169.9 and 24 more, per the GitHub advisory GHSA-g7cv-rxg3-hmpx. The tables above give every range the sources list.
Which version fixes CVE-2026-45321?
1.166.16, 1.161.13, 0.0.8, 1.154.16, 1.169.9 and 1.166.20, per the GitHub advisory GHSA-g7cv-rxg3-hmpx. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-45321?
Critical (9.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-45321?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.