Exploit database

Vulnerability

CVE-2026-45321

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

Vulnerability details

Score
9.6
Severity
critical

CVSS 3.1 · GitHub_M

Vector string

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

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.

CVE Program

Exploit source choices

7 sources
intrudify/mini-shai-hulud-scanner
GH-b85aa2f2d50b9981f1cb3925246676b9GitHubUnofficial GitHub sourcePreferred

Scanner for the Mini Shai-Hulud npm/PyPI supply chain worm (NHS CC-4781 · CVE-2026-45321). Detects gh-token-monitor persistence, payload artefacts, and attacker commits. Python, Bash, PowerShell.

2026-05-135 files · 3 stars
fabriziosalmi/tanstack-compromise-checker
GH-8d2db412445e5863948ee5eb1a63ab45GitHubUnofficial GitHub source

Shell script to detect TanStack npm supply chain attack indicators (CVE-2026-45321 / GHSA-g7cv-rxg3-hmpx)

2026-05-1629 files · 2 stars
nkopylov/tanscript-exploit-check
GH-b41104bd15ca5576cd668865c049bfc4GitHubUnofficial GitHub source

IOC checker for the TanStack/Mini Shai-Hulud npm supply chain attack (CVE-2026-45321)

2026-05-182 files · 1 stars
qi-scape/scan-shai-hulud
GH-fa333e524197b9d89f626ce8fb62affcGitHubUnofficial GitHub source

Detect CVE-2026-45321 Mini Shai-Hulud supply chain compromise — scans for 170 npm + 2 PyPI poisoned packages across TanStack, Mistral AI, UiPath, OpenSearch, Guardrails AI

2026-05-124 files · 1 stars
7starl/cve-2026-45321-tanstack
GH-9c71d140a41039ba4f26a8cb6377e2d0GitHubUnofficial GitHub source

7starl/cve-2026-45321-tanstack source repository

2026-06-2510 files · 0 stars
caixa-git/tanstack-shield
GH-226fb36af4cb467b5fc3fc996e85d520GitHubUnofficial GitHub source

🛡️ One-command scanner for CVE-2026-45321 — TanStack npm supply-chain attack

2026-05-123 files · 0 stars
digi4care/shai-scan
GH-4a3d45d0f40c2c9174999609f493bad6GitHubUnofficial GitHub source

Zero-dependency CLI scanner for npm/PyPI supply chain compromises. Detects compromised packages in lockfiles and system-level IOCs from attacks like Mini Shai-Hulud (CVE-2026-45321).

2026-05-1629 files · 0 stars