CVE-2026-45321
@tanstack arktype-adapter, @tanstack eslint-plugin-router, @tanstack eslint-plugin-start
Published 12 May 2026 · updated 17 Jun 2026 · Analyzed
Exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on 27 May 2026, with a remediation deadline of 10 Jun 2026 for US federal agencies. It has been used in ransomware campaigns.
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.
Description
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.
References
- github.com/TanStack/router/issues/7383 · Issue Tracking
- github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx · Mitigation, Vendor Advisory
- tanstack.com/blog/npm-supply-chain-compromise-postmortem · Exploit, Vendor Advisory
- www.stepsecurity.io/blog/mini-shai-hulud-is-back-a-self-spreading-supply-chain-attack-hits-the-npm-ecosystem · Exploit, Third Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-45321 · US Government Resource