Known exploited vulnerability

CVE-2026-45321

criticalCVSS 3.1 9.6In CISA KEVRansomwareEPSS 3.3%Published · @tanstack

The short answer

CVE-2026-45321 affects @tanstack arktype-adapter and is rated critical (CVSS 9.6). CISA added it to the Known Exploited Vulnerabilities catalog on 2026-05-27: attackers are using it, so patch it first. Fixed versions are published for @tanstack/arktype-adapter (1.166.16) and @tanstack/eslint-plugin-router (1.161.13).

What it is

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.

Weakness: CWE-506.

Severity

9.6 critical

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Exploited (CISA KEV)

Yes, since May 27, 2026

Federal due date Jun 10, 2026

EPSS, next 30 days

3.3%

Higher than 89% of scored CVEs

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality impact
High
Integrity impact
High
Availability impact
High

What CISA says to do

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Affected packages and fixed versions

PackageEcosystemFixed inAdvisory
@tanstack/arktype-adapternpm1.166.16GHSA-g7cv-rxg3-hmpx
@tanstack/eslint-plugin-routernpm1.161.13GHSA-g7cv-rxg3-hmpx
@tanstack/eslint-plugin-startnpm0.0.8GHSA-g7cv-rxg3-hmpx
@tanstack/historynpm1.161.13GHSA-g7cv-rxg3-hmpx
@tanstack/nitro-v2-vite-pluginnpm1.154.16GHSA-g7cv-rxg3-hmpx
@tanstack/react-routernpm1.169.9GHSA-g7cv-rxg3-hmpx
@tanstack/react-router-devtoolsnpm1.166.20GHSA-g7cv-rxg3-hmpx
@tanstack/react-router-ssr-querynpm1.166.19GHSA-g7cv-rxg3-hmpx
@tanstack/react-startnpm1.167.72GHSA-g7cv-rxg3-hmpx
@tanstack/react-start-clientnpm1.166.55GHSA-g7cv-rxg3-hmpx
@tanstack/react-start-rscnpm0.0.51GHSA-g7cv-rxg3-hmpx
@tanstack/react-start-servernpm1.166.59GHSA-g7cv-rxg3-hmpx
@tanstack/router-clinpm1.166.50GHSA-g7cv-rxg3-hmpx
@tanstack/router-corenpm1.169.9GHSA-g7cv-rxg3-hmpx
@tanstack/router-devtoolsnpm1.166.20GHSA-g7cv-rxg3-hmpx
@tanstack/router-devtools-corenpm1.167.10GHSA-g7cv-rxg3-hmpx
@tanstack/router-generatornpm1.166.49GHSA-g7cv-rxg3-hmpx
@tanstack/router-pluginnpm1.167.42GHSA-g7cv-rxg3-hmpx
@tanstack/router-ssr-query-corenpm1.168.7GHSA-g7cv-rxg3-hmpx
@tanstack/router-utilsnpm1.161.15GHSA-g7cv-rxg3-hmpx

Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.

Affected products

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. NVD's record lists the exact affected versions.

References

Questions

Is CVE-2026-45321 being exploited?

Yes. CISA added CVE-2026-45321 to its Known Exploited Vulnerabilities catalog on 2026-05-27, with a federal remediation due date of 2026-06-10. CISA lists it as used in ransomware campaigns.

How do I fix CVE-2026-45321?

Upgrade to a fixed version: @tanstack/arktype-adapter (npm) 1.166.16; @tanstack/eslint-plugin-router (npm) 1.161.13; @tanstack/eslint-plugin-start (npm) 0.0.8; @tanstack/history (npm) 1.161.13. 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.

From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.

Related

Know the day a CVE lands in your code

Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.