CVE-2026-45321
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. High risk of data exposure, data tampering, service disruption.
- In the wild
- CISA lists this as exploited in real attacks. Treat as urgent.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- 2026-05-27 Exploited in the wildAdded to CISA's Known Exploited Vulnerabilities list
- 2026-06-10 Remediation deadlineCISA's due date for federal agencies to fix it
- Last updatedMost recent change to the record
Details
- Published
- Last modified
- Added to CISA KEV
- 2026-05-27
- Exploit probability
- 3.3% · EPSS, next 30 days
- Weakness
- CWE-506
- Record status
- Analyzed
Affected
- Tanstack tanstack\/arktype-adapter 1.166.12
- Tanstack tanstack\/arktype-adapter 1.166.15
- Tanstack tanstack\/eslint-plugin-router 1.161.9
- Tanstack tanstack\/eslint-plugin-router 1.161.12
- Tanstack tanstack\/eslint-plugin-start 0.0.4
- Tanstack tanstack\/eslint-plugin-start 0.0.7
- Tanstack tanstack\/history 1.161.9
- Tanstack tanstack\/history 1.161.12
Attack profile CVSS 3.1 · 9.6
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Fix and advisories
- https://github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx
- https://tanstack.com/blog/npm-supply-chain-compromise-postmortem
References
- https://github.com/TanStack/router/issues/7383
- https://github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx
- 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.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-45321