CVE-2026-45321
CRITICAL KEVMalware in 42 @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys
Title source: cnaExploitation Summary
CVE-2026-45321 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added May 27, 2026. EIP tracks 11 public exploits from researchers including renewablehacking, prashanthnataraj, nkopylov.
AI-analyzed exploit summary This repository demonstrates a supply chain attack via a malicious npm package exploiting the `postinstall` script hook to execute arbitrary code during installation. The PoC simulates CVE-2026-45321 by creating a fake TanStack package that exfiltrates system information when installed.
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.
Exploits (11)
This repository demonstrates a supply chain attack via a malicious npm package exploiting the `postinstall` script hook to execute arbitrary code during installation. The PoC simulates CVE-2026-45321 by creating a fake TanStack package that exfiltrates system information when installed.
This repository contains a detection script for the Mini Shai-Hulud npm supply-chain attack (CVE-2026-45321). The script scans for indicators of compromise such as malicious package namespaces, payload files, and persistence daemons, but does not exploit the vulnerability.
This repository provides a detection script for the TanStack supply chain compromise (CVE-2026-45321), checking for indicators of compromise (IOCs) such as malicious files, processes, and network connections. It does not contain exploit code but helps identify compromised systems.
This repository contains a zero-dependency CLI scanner for detecting compromised npm and PyPI packages, specifically targeting the Mini Shai-Hulud supply chain attack (CVE-2026-45321). It scans lockfiles, system IOCs, and outputs findings in multiple formats (text, JSON, SARIF).
This repository contains a GitHub Action and associated scripts designed to scan for compromised dependencies in TanStack projects, focusing on detecting known vulnerabilities (e.g., GHSA-g7cv-rxg3-hmpx). It includes workflows for automated checks, Docker support, and release management, but does not contain exploit code.
This repository contains a scanner for detecting indicators of compromise related to the Mini Shai-Hulud supply chain worm (CVE-2026-45321). It checks for malicious npm/PyPI packages, persistence mechanisms, payload files, and C2 traffic without executing any exploit code.
This repository contains a scanner tool for detecting indicators of CVE-2026-45321 in TanStack Router projects. It checks for vulnerable package versions, suspicious files, and dependencies but does not include exploit code.
This repository provides a scanner for detecting indicators of compromise (IOCs) related to the Mini Shai-Hulud supply chain worm (CVE-2026-45321). It performs diagnostic checks for worm artifacts, persistence hooks, malicious files, compromised packages, and network IOCs, with full transparency and user approval for each step.
This repository contains a Bash script designed to scan systems for indicators of compromise (IOCs) related to CVE-2026-45321, a supply chain attack affecting npm and PyPI packages. The script checks for malicious files, persistence mechanisms, C2 infrastructure, and compromised packages.
This repository provides a read-only scanner to detect the presence of malicious versions of TanStack npm packages affected by CVE-2026-45321. It checks lockfiles, package manifests, and node_modules for known malicious versions and indicators of compromise.
This repository contains a detection script for the TanStack supply chain compromise (CVE-2026-45321), which scans for compromised packages, payload files, and persistence artifacts. It does not include exploit code but provides a comprehensive scanner for identifying indicators of compromise.
References (5)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H