# CVE-2026-45321: Malware in 42 @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys

> CVE-2026-45321: Malware in 42 @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys. CVSS 9.6 (CVSS 3.1), in CISA KEV.

Canonical: https://rewindex.com/cve/CVE-2026-45321
Last updated: 2026-08-04T03:56:09Z

- Published: 2026-05-12 00:12 UTC · Updated: 2026-08-04 03:56 UTC · Assigner: GitHub\_M
- CVSS: 9.6 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS: 3.3%, 88th percentile (scored 2026-10-25)
- CISA KEV: yes, added 2026-05-27, federal due date 2026-06-10, ransomware use: Known
- CWE: CWE-506

## 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.

## 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.

## Affected vendors and products

- @tanstack: arktype-adapter
- @tanstack: eslint-plugin-router
- @tanstack: eslint-plugin-start
- @tanstack: history
- @tanstack: nitro-v2-vite-plugin
- @tanstack: outer-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: 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

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-45321)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-45321)
- [https://github.com/TanStack/router/issues/7383](https://github.com/TanStack/router/issues/7383)
- [https://github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx](https://github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx)
- [https://tanstack.com/blog/npm-supply-chain-compromise-postmortem](https://tanstack.com/blog/npm-supply-chain-compromise-postmortem)
- [https://www.stepsecurity.io/blog/mini-shai-hulud-is-back-a-self-spreading-supply-chain-attack-hits-the-npm-ecosystem](https://www.stepsecurity.io/blog/mini-shai-hulud-is-back-a-self-spreading-supply-chain-attack-hits-the-npm-ecosystem)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-45321 · Markdown: https://rewindex.com/cve/CVE-2026-45321.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-45321 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:46:24.237Z
