TanStack npm packages compromised with credential-stealing malware
CVE-2026-45321Known exploitedRansomwareCritical
An attacker exploited a pull_request_target misconfiguration in TanStack's GitHub Actions workflow to extract the OIDC token from the Actions runner and publish malicious versions of 42 TanStack packages to npm. The attacker chained this with GitHub Actions cache poisoning to bypass the fork-to-base trust boundary. Each affected package received two malicious versions that contained credential-stealing malware, published under the legitimate TanStack identity, requiring only the ability to submit a pull request to the repository.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 27 May
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Detail
TanStack. 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.
Weakness: CWE-506 (opens in a new tab)
Affected versions
- 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
- tanstack tanstack\/nitro-v2-vite-plugin: 1.154.12
- tanstack tanstack\/nitro-v2-vite-plugin: 1.154.15
- tanstack tanstack\/react-router: 1.169.5
- tanstack tanstack\/react-router: 1.169.8
- tanstack tanstack\/react-router-devtools: 1.166.16
- tanstack tanstack\/react-router-devtools: 1.166.19
- tanstack tanstack\/react-router-ssr-query: 1.166.15
- tanstack tanstack\/react-router-ssr-query: 1.166.18
- tanstack tanstack\/react-start: 1.167.68
- tanstack tanstack\/react-start: 1.167.71
- tanstack tanstack\/react-start-client: 1.166.51
- tanstack tanstack\/react-start-client: 1.166.54
- tanstack tanstack\/react-start-rsc: 0.0.47
- tanstack tanstack\/react-start-rsc: 0.0.50
- tanstack tanstack\/react-start-server: 1.166.55
- tanstack tanstack\/react-start-server: 1.166.58
- tanstack tanstack\/router-cli: 1.166.46
The NVD record lists more.