CVEBrief

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.

Exploited in the wild
Yes, CISA KEV
added May 27, 2026, due June 10, 2026, used in ransomware
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
Exploit odds (EPSS)
3.28% in 30 days
higher than 89% of CVEs; FIRST, December 2, 2026

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?

VendorProductAffectedFixed or not affected from
@tanstackarktype-adapter1.166.12
1.166.15
@tanstackeslint-plugin-router1.161.9
1.161.12
@tanstackeslint-plugin-start0.0.4
0.0.7
@tanstackhistory1.161.9
1.161.12
@tanstacknitro-v2-vite-plugin1.154.12
1.154.15
@tanstackreact-router1.169.5
1.169.8
@tanstackreact-router-devtools1.166.16
1.166.19
@tanstackreact-router-ssr-query1.166.15
1.166.18
@tanstackreact-start1.167.68
1.167.71
@tanstackreact-start-client1.166.51
1.166.54
@tanstackreact-start-rsc0.0.47
0.0.50
@tanstackreact-start-server1.166.55
1.166.58
@tanstackrouter-cli1.166.46
1.166.49
@tanstackrouter-core1.169.5
1.169.8
@tanstackrouter-devtools1.166.16
1.166.19
@tanstackrouter-devtools-core1.167.6
1.167.9
@tanstackrouter-generator1.166.45
1.166.48
@tanstackrouter-plugin1.167.38
1.167.41
@tanstackrouter-ssr-query-core1.168.3
1.168.6
@tanstackrouter-utils1.161.11
1.161.14
@tanstackouter-vite-plugin1.166.53
1.166.56
@tanstacksolid-router1.169.5
1.169.8
@tanstacksolid-router-devtools1.166.16
1.166.19
@tanstacksolid-router-ssr-query1.166.15
1.166.18
@tanstacksolid-start1.167.65
1.167.68
@tanstacksolid-start-client1.166.50
1.166.53
@tanstacksolid-start-server1.166.54
1.166.57
@tanstackstart-client-core1.168.5
1.168.8
@tanstackstart-fn-stubs1.161.9
1.161.12
@tanstackstart-plugin-core1.169.23
1.169.26
@tanstackstart-server-core1.167.33
1.167.36
@tanstackstart-static-server-functions1.166.44
1.166.47
@tanstackstart-storage-context1.166.38
1.166.41
@tanstackvalibot-adapter1.166.12
1.166.15
@tanstackvirtual-file-routes1.161.10
1.161.13
@tanstackvue-router1.169.5
1.169.8
@tanstackvue-router-devtools1.166.16
1.166.19
@tanstackvue-router-ssr-query1.166.15
1.166.18
@tanstackvue-start1.167.61
1.167.64
@tanstackvue-start-client1.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?

EcosystemPackageAffectedFixed inAdvisory
npm@tanstack/arktype-adapter>= 1.166.12, < 1.166.161.166.16GHSA-g7cv-rxg3-hmpx
npm@tanstack/eslint-plugin-router>= 1.161.9, < 1.161.131.161.13GHSA-g7cv-rxg3-hmpx
npm@tanstack/eslint-plugin-start>= 0.0.4, < 0.0.80.0.8GHSA-g7cv-rxg3-hmpx
npm@tanstack/history>= 1.161.9, < 1.161.131.161.13GHSA-g7cv-rxg3-hmpx
npm@tanstack/nitro-v2-vite-plugin>= 1.154.12, < 1.154.161.154.16GHSA-g7cv-rxg3-hmpx
npm@tanstack/react-router>= 1.169.5, < 1.169.91.169.9GHSA-g7cv-rxg3-hmpx
npm@tanstack/react-router-devtools>= 1.166.16, < 1.166.201.166.20GHSA-g7cv-rxg3-hmpx
npm@tanstack/react-router-ssr-query>= 1.166.15, < 1.166.191.166.19GHSA-g7cv-rxg3-hmpx
npm@tanstack/react-start>= 1.167.68, < 1.167.721.167.72GHSA-g7cv-rxg3-hmpx
npm@tanstack/react-start-client>= 1.166.51, < 1.166.551.166.55GHSA-g7cv-rxg3-hmpx
npm@tanstack/react-start-rsc>= 0.0.47, < 0.0.510.0.51GHSA-g7cv-rxg3-hmpx
npm@tanstack/react-start-server>= 1.166.55, < 1.166.591.166.59GHSA-g7cv-rxg3-hmpx
npm@tanstack/router-cli>= 1.166.46, < 1.166.501.166.50GHSA-g7cv-rxg3-hmpx
npm@tanstack/router-core>= 1.169.5, < 1.169.91.169.9GHSA-g7cv-rxg3-hmpx
npm@tanstack/router-devtools>= 1.166.16, < 1.166.201.166.20GHSA-g7cv-rxg3-hmpx
npm@tanstack/router-devtools-core>= 1.167.6, < 1.167.101.167.10GHSA-g7cv-rxg3-hmpx
npm@tanstack/router-generator>= 1.166.45, < 1.166.491.166.49GHSA-g7cv-rxg3-hmpx
npm@tanstack/router-plugin>= 1.167.38, < 1.167.421.167.42GHSA-g7cv-rxg3-hmpx
npm@tanstack/router-ssr-query-core>= 1.168.3, < 1.168.71.168.7GHSA-g7cv-rxg3-hmpx
npm@tanstack/router-utils>= 1.161.11, < 1.161.151.161.15GHSA-g7cv-rxg3-hmpx
npm@tanstack/router-vite-plugin>= 1.166.53, < 1.166.571.166.57GHSA-g7cv-rxg3-hmpx
npm@tanstack/solid-router>= 1.169.5, < 1.169.91.169.9GHSA-g7cv-rxg3-hmpx
npm@tanstack/solid-router-devtools>= 1.166.16, < 1.166.201.166.20GHSA-g7cv-rxg3-hmpx
npm@tanstack/solid-router-ssr-query>= 1.166.15, < 1.166.191.166.19GHSA-g7cv-rxg3-hmpx
npm@tanstack/solid-start>= 1.167.65, < 1.167.691.167.69GHSA-g7cv-rxg3-hmpx
npm@tanstack/solid-start-client>= 1.166.50, < 1.166.541.166.54GHSA-g7cv-rxg3-hmpx
npm@tanstack/solid-start-server>= 1.166.54, < 1.166.581.166.58GHSA-g7cv-rxg3-hmpx
npm@tanstack/start-client-core>= 1.168.5, < 1.168.91.168.9GHSA-g7cv-rxg3-hmpx
npm@tanstack/start-fn-stubs>= 1.161.9, < 1.161.131.161.13GHSA-g7cv-rxg3-hmpx
npm@tanstack/start-plugin-core>= 1.169.23, < 1.169.271.169.27GHSA-g7cv-rxg3-hmpx

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?

VendorProductVersionsType
tanstacktanstack\/arktype-adapter1.166.12application
tanstacktanstack\/arktype-adapter1.166.15application
tanstacktanstack\/eslint-plugin-router1.161.9application
tanstacktanstack\/eslint-plugin-router1.161.12application
tanstacktanstack\/eslint-plugin-start0.0.4application
tanstacktanstack\/eslint-plugin-start0.0.7application
tanstacktanstack\/history1.161.9application
tanstacktanstack\/history1.161.12application
tanstacktanstack\/nitro-v2-vite-plugin1.154.12application
tanstacktanstack\/nitro-v2-vite-plugin1.154.15application
tanstacktanstack\/react-router1.169.5application
tanstacktanstack\/react-router1.169.8application
tanstacktanstack\/react-router-devtools1.166.16application
tanstacktanstack\/react-router-devtools1.166.19application
tanstacktanstack\/react-router-ssr-query1.166.15application
tanstacktanstack\/react-router-ssr-query1.166.18application
tanstacktanstack\/react-start1.167.68application
tanstacktanstack\/react-start1.167.71application
tanstacktanstack\/react-start-client1.166.51application
tanstacktanstack\/react-start-client1.166.54application
tanstacktanstack\/react-start-rsc0.0.47application
tanstacktanstack\/react-start-rsc0.0.50application
tanstacktanstack\/react-start-server1.166.55application
tanstacktanstack\/react-start-server1.166.58application
tanstacktanstack\/router-cli1.166.46application

NVD analysis (status Analyzed), last modified October 26, 2026, 18:10 UTC.

How severe is CVE-2026-45321?

ScoreVersionVectorSource
Critical 9.6CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HGitHub_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?

Where are the vendor advisories and references?

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.