Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
@tanstack arktype-adapter
Exploitation
Confirmed exploitation in the wild; remediate immediately
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

TanStack Query是TanStack开源的一个开源、功能齐全、支持TypeScript 的库。 TanStack Query存在安全漏洞,该漏洞源于攻击者利用pull_request_target配置错误、GitHub Actions缓存投毒和OIDC令牌内存提取,可能导致发布凭据窃取恶意软件。

CVSS 9.6 · Critical KEV · Ransomware EPSS 1.05% · P63

Affected Version Matrix 84

VendorProduct Version RangeStatus
@tanstack arktype-adapter 1.166.12 affected
1.166.15 affected
@tanstack eslint-plugin-router 1.161.9 affected
1.161.12 affected
@tanstack eslint-plugin-start 0.0.4 affected
0.0.7 affected
@tanstack history 1.161.9 affected
1.161.12 affected
@tanstack nitro-v2-vite-plugin 1.154.12 affected
1.154.15 affected
@tanstack outer-vite-plugin 1.166.53 affected
1.166.56 affected
@tanstack react-router 1.169.5 affected
1.169.8 affected
@tanstack react-router-devtools 1.166.16 affected
1.166.19 affected
@tanstack react-router-ssr-query 1.166.15 affected
1.166.18 affected
@tanstack react-start 1.167.68 affected
1.167.71 affected
@tanstack react-start-client 1.166.51 affected
1.166.54 affected
@tanstack react-start-rsc 0.0.47 affected
0.0.50 affected
@tanstack react-start-server 1.166.55 affected
1.166.58 affected
@tanstack router-cli 1.166.46 affected
1.166.49 affected
@tanstack router-core 1.169.5 affected
1.169.8 affected
@tanstack router-devtools 1.166.16 affected
1.166.19 affected
@tanstack router-devtools-core 1.167.6 affected
1.167.9 affected
@tanstack router-generator 1.166.45 affected
1.166.48 affected
@tanstack router-plugin 1.167.38 affected
1.167.41 affected
@tanstack router-ssr-query-core 1.168.3 affected
1.168.6 affected
@tanstack router-utils 1.161.11 affected
1.161.14 affected
@tanstack solid-router 1.169.5 affected
1.169.8 affected
@tanstack solid-router-devtools 1.166.16 affected
1.166.19 affected
@tanstack solid-router-ssr-query 1.166.15 affected
1.166.18 affected
@tanstack solid-start 1.167.65 affected
1.167.68 affected
@tanstack solid-start-client 1.166.50 affected
1.166.53 affected
@tanstack solid-start-server 1.166.54 affected
1.166.57 affected
@tanstack start-client-core 1.168.5 affected
1.168.8 affected
@tanstack start-fn-stubs 1.161.9 affected
1.161.12 affected
@tanstack start-plugin-core 1.169.23 affected
1.169.26 affected
@tanstack start-server-core 1.167.33 affected
1.167.36 affected
@tanstack start-static-server-functions 1.166.44 affected
1.166.47 affected
@tanstack start-storage-context 1.166.38 affected
1.166.41 affected
@tanstack valibot-adapter 1.166.12 affected
1.166.15 affected
@tanstack virtual-file-routes 1.161.10 affected
1.161.13 affected
@tanstack vue-router 1.169.5 affected
1.169.8 affected
@tanstack vue-router-devtools 1.166.16 affected
1.166.19 affected
@tanstack vue-router-ssr-query 1.166.15 affected
1.166.18 affected
@tanstack vue-start 1.167.61 affected
1.167.64 affected
@tanstack vue-start-client 1.166.46 affected
1.166.49 affected
@tanstack vue-start-server 1.166.50 affected
1.166.53 affected
@tanstack zod-adapter 1.166.12 affected
1.166.15 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-45321

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Malware in 42 @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
内嵌的恶意代码
Source: CVE Program / CVE List V5
Vulnerability Title
TanStack Query 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
TanStack Query是TanStack开源的一个开源、功能齐全、支持TypeScript 的库。 TanStack Query存在安全漏洞,该漏洞源于攻击者利用pull_request_target配置错误、GitHub Actions缓存投毒和OIDC令牌内存提取,可能导致发布凭据窃取恶意软件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
@tanstack arktype-adapter 1.166.12 -
@tanstack eslint-plugin-router 1.161.9 -
@tanstack eslint-plugin-start 0.0.4 -
@tanstack history 1.161.9 -
@tanstack nitro-v2-vite-plugin 1.154.12 -
@tanstack react-router 1.169.5 -
@tanstack react-router-devtools 1.166.16 -
@tanstack react-router-ssr-query 1.166.15 -
@tanstack react-start 1.167.68 -
@tanstack react-start-client 1.166.51 -
@tanstack react-start-rsc 0.0.47 -
@tanstack react-start-server 1.166.55 -
@tanstack router-cli 1.166.46 -
@tanstack router-core 1.169.5 -
@tanstack router-devtools 1.166.16 -
@tanstack router-devtools-core 1.167.6 -
@tanstack router-generator 1.166.45 -
@tanstack router-plugin 1.167.38 -
@tanstack router-ssr-query-core 1.168.3 -
@tanstack router-utils 1.161.11 -
@tanstack outer-vite-plugin 1.166.53 -
@tanstack solid-router 1.169.5 -
@tanstack solid-router-devtools 1.166.16 -
@tanstack solid-router-ssr-query 1.166.15 -
@tanstack solid-start 1.167.65 -
@tanstack solid-start-client 1.166.50 -
@tanstack solid-start-server 1.166.54 -
@tanstack start-client-core 1.168.5 -
@tanstack start-fn-stubs 1.161.9 -
@tanstack start-plugin-core 1.169.23 -

II. Public POCs for CVE-2026-45321

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 14041 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-45321

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-45321 (1)

Security Blog Posts for CVE-2026-45321 (1)

Other References for CVE-2026-45321 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-45321

No comments yet


Leave a comment