Malware in 42 @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys

Summary

CVECVE-2026-45321
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-12 01:16:46 UTC
Updated2026-05-12 01:16:46 UTC
DescriptionOn 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.

Risk And Classification

Primary CVSS: v3.1 9.6 CRITICAL from [email protected]

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

Problem Types: CWE-506 | CWE-506 CWE-506: Embedded Malicious Code


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary9.6CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
3.1CNADECLARED9.6CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA @tanstack Arktype-adapter affected 1.166.12 Not specified
CNA @tanstack Arktype-adapter affected 1.166.15 Not specified
CNA @tanstack Eslint-plugin-router affected 1.161.9 Not specified
CNA @tanstack Eslint-plugin-router affected 1.161.12 Not specified
CNA @tanstack Eslint-plugin-start affected 0.0.4 Not specified
CNA @tanstack Eslint-plugin-start affected 0.0.7 Not specified
CNA @tanstack History affected 1.161.9 Not specified
CNA @tanstack History affected 1.161.12 Not specified
CNA @tanstack Nitro-v2-vite-plugin affected 1.154.12 Not specified
CNA @tanstack Nitro-v2-vite-plugin affected 1.154.15 Not specified
CNA @tanstack React-router affected 1.169.5 Not specified
CNA @tanstack React-router affected 1.169.8 Not specified
CNA @tanstack React-router-devtools affected 1.166.16 Not specified
CNA @tanstack React-router-devtools affected 1.166.19 Not specified
CNA @tanstack React-router-ssr-query affected 1.166.15 Not specified
CNA @tanstack React-router-ssr-query affected 1.166.18 Not specified
CNA @tanstack React-start affected 1.167.68 Not specified
CNA @tanstack React-start affected 1.167.71 Not specified
CNA @tanstack React-start-client affected 1.166.51 Not specified
CNA @tanstack React-start-client affected 1.166.54 Not specified
CNA @tanstack React-start-rsc affected 0.0.47 Not specified
CNA @tanstack React-start-rsc affected 0.0.50 Not specified
CNA @tanstack React-start-server affected 1.166.55 Not specified
CNA @tanstack React-start-server affected 1.166.58 Not specified
CNA @tanstack Router-cli affected 1.166.46 Not specified
CNA @tanstack Router-cli affected 1.166.49 Not specified
CNA @tanstack Router-core affected 1.169.5 Not specified
CNA @tanstack Router-core affected 1.169.8 Not specified
CNA @tanstack Router-devtools affected 1.166.16 Not specified
CNA @tanstack Router-devtools affected 1.166.19 Not specified
CNA @tanstack Router-devtools-core affected 1.167.6 Not specified
CNA @tanstack Router-devtools-core affected 1.167.9 Not specified
CNA @tanstack Router-generator affected 1.166.45 Not specified
CNA @tanstack Router-generator affected 1.166.48 Not specified
CNA @tanstack Router-plugin affected 1.167.38 Not specified
CNA @tanstack Router-plugin affected 1.167.41 Not specified
CNA @tanstack Router-ssr-query-core affected 1.168.3 Not specified
CNA @tanstack Router-ssr-query-core affected 1.168.6 Not specified
CNA @tanstack Router-utils affected 1.161.11 Not specified
CNA @tanstack Router-utils affected 1.161.14 Not specified
CNA @tanstack Outer-vite-plugin affected 1.166.53 Not specified
CNA @tanstack Outer-vite-plugin affected 1.166.56 Not specified
CNA @tanstack Solid-router affected 1.169.5 Not specified
CNA @tanstack Solid-router affected 1.169.8 Not specified
CNA @tanstack Solid-router-devtools affected 1.166.16 Not specified
CNA @tanstack Solid-router-devtools affected 1.166.19 Not specified
CNA @tanstack Solid-router-ssr-query affected 1.166.15 Not specified
CNA @tanstack Solid-router-ssr-query affected 1.166.18 Not specified
CNA @tanstack Solid-start affected 1.167.65 Not specified
CNA @tanstack Solid-start affected 1.167.68 Not specified
CNA @tanstack Solid-start-client affected 1.166.50 Not specified
CNA @tanstack Solid-start-client affected 1.166.53 Not specified
CNA @tanstack Solid-start-server affected 1.166.54 Not specified
CNA @tanstack Solid-start-server affected 1.166.57 Not specified
CNA @tanstack Start-client-core affected 1.168.5 Not specified
CNA @tanstack Start-client-core affected 1.168.8 Not specified
CNA @tanstack Start-fn-stubs affected 1.161.9 Not specified
CNA @tanstack Start-fn-stubs affected 1.161.12 Not specified
CNA @tanstack Start-plugin-core affected 1.169.23 Not specified
CNA @tanstack Start-plugin-core affected 1.169.26 Not specified
CNA @tanstack Start-server-core affected 1.167.33 Not specified
CNA @tanstack Start-server-core affected 1.167.36 Not specified
CNA @tanstack Start-static-server-functions affected 1.166.44 Not specified
CNA @tanstack Start-static-server-functions affected 1.166.47 Not specified
CNA @tanstack Start-storage-context affected 1.166.38 Not specified
CNA @tanstack Start-storage-context affected 1.166.41 Not specified
CNA @tanstack Valibot-adapter affected 1.166.12 Not specified
CNA @tanstack Valibot-adapter affected 1.166.15 Not specified
CNA @tanstack Virtual-file-routes affected 1.161.10 Not specified
CNA @tanstack Virtual-file-routes affected 1.161.13 Not specified
CNA @tanstack Vue-router affected 1.169.5 Not specified
CNA @tanstack Vue-router affected 1.169.8 Not specified
CNA @tanstack Vue-router-devtools affected 1.166.16 Not specified
CNA @tanstack Vue-router-devtools affected 1.166.19 Not specified
CNA @tanstack Vue-router-ssr-query affected 1.166.15 Not specified
CNA @tanstack Vue-router-ssr-query affected 1.166.18 Not specified
CNA @tanstack Vue-start affected 1.167.61 Not specified
CNA @tanstack Vue-start affected 1.167.64 Not specified
CNA @tanstack Vue-start-client affected 1.166.46 Not specified
CNA @tanstack Vue-start-client affected 1.166.49 Not specified
CNA @tanstack Vue-start-server affected 1.166.50 Not specified
CNA @tanstack Vue-start-server affected 1.166.53 Not specified
CNA @tanstack Zod-adapter affected 1.166.12 Not specified
CNA @tanstack Zod-adapter affected 1.166.15 Not specified

References

ReferenceSourceLinkTags
github.com/TanStack/router/issues/7383 [email protected] github.com
github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report