CRITICAL
CVSS 9.6 CRITICAL · EPSS 0% · TanStack TanStack
Severity Overview
- CVSS Base Score: 9.6 (CRITICAL)
- EPSS Score: 0.0% probability of exploitation in 30 days — higher than 8% of all scored CVEs
- CVSS Version: 3.1
- Priority: Critical priority
Summary
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.
What the Attack Looks Like
If successfully exploited: A successful exploit gives the attacker a foothold on the target system with access to sensitive data and the ability to deploy secondary payloads. Because this vulnerability has a scope change, the impact extends beyond the vulnerable component — adjacent services or system resources may be compromised as well. Full confidentiality and integrity impact means an attacker can both read and modify sensitive data — useful for credential harvesting, data theft, or manipulating application state. High availability impact means the vulnerability can also cause a denial of service, which may be used for disruption or as a diversion during a broader attack.
Analyst Takeaway
The attack is launched over the network (remotely exploitable without physical access); a user must be tricked into taking an action such as opening a file or clicking a link, and no authentication is required. A successful exploit can break out of the vulnerable component and affect other system resources (scope change), potentially enabling broader compromise. This vulnerability is already in CISA KEV, which means exploitation has been confirmed in the wild — treat this as active risk, not theoretical exposure. The CVSS score places this in critical territory, so internet-facing systems and high-value assets should be prioritized for immediate remediation or compensating controls. The ATT&CK mapping suggests public-facing exploitation risk, so external exposure validation should be part of immediate triage. In parallel with patching, defenders should review external exposure, hunt for signs of exploitation, and validate whether compensating controls are in place for vulnerable assets.
MITRE ATT&CK Mapping
- T1195.002 – Compromise Software Supply Chain
Rationale: The vulnerability context suggests compromise of software or its delivery/update path. - T1190 – Exploit Public-Facing Application
Rationale: The product appears likely to be internet-facing or commonly exposed in enterprise environments.
Detection Guidance
-
T1195.002 — Software Supply Chain Compromise
- Validate integrity of software updates, packages, and repositories associated with the affected product against known-good vendor hashes.
- Review CI/CD pipeline activity, build logs, and package download history for anomalies around the vulnerability disclosure window.
- Confirm software was sourced from official vendor channels and that update infrastructure communications match expected vendor endpoints.
-
T1190 — Exploit Public-Facing Application
- Inspect web server, reverse proxy, load balancer, and WAF logs for abnormal request patterns — unusual URIs, oversized payloads, HTTP verb abuse, or encoding anomalies.
- Monitor for spikes in HTTP 4xx/5xx responses that may indicate probing or failed exploitation attempts preceding a successful hit.
- Review outbound connections from affected servers for unexpected command-and-control callbacks or secondary payload retrieval to external IPs.
- Validate which internet-facing assets are running the vulnerable version and verify whether compensating controls (WAF rules, network ACLs) are in place and effective.
Hunting Considerations
These are proactive hunts mapped to the ATT&CK techniques identified for this CVE. Run them now — do not wait for an alert to fire.
-
T1195.002 — Software Supply Chain Compromise
- Binary integrity: Compare hashes of recently updated software packages and executables against known-good values from the vendor’s official release. Unexpected hash changes in software update paths are the primary supply chain indicator.
- Build system activity: Review CI/CD pipeline logs for unexpected jobs, unauthorized commits, changes to build scripts, or outbound network connections from build servers to external IPs not in your allowlist.
- Update server communications: Flag connections to update endpoints that do not resolve to known vendor infrastructure. Supply chain attacks commonly involve redirecting update traffic to attacker-controlled servers.
- Prioritize recently updated systems: Identify all hosts running the affected product version and focus investigation on those that applied updates during the window of potential compromise — an update received during an active supply chain attack is the highest-risk scenario.
-
T1190 — Exploit Public-Facing Application
- Web/app server logs: Search for unusual HTTP methods, requests to non-standard paths, oversized payloads, or encoding anomalies (URL-encoded or double-encoded sequences) targeting the vulnerable application. Cluster by source IP and look for low-volume probing patterns before any successful hit.
- Process telemetry: Hunt for child processes spawned by the web server or application process (e.g., apache2, nginx, w3wp.exe, java). Web server processes should not be launching shells, scripting engines (PowerShell, bash, python), or download utilities.
- Outbound connections from the server: Alert on unexpected outbound HTTP/S or DNS from the application server to external IPs not in your CDN or update allowlist — this is a common secondary payload retrieval indicator post-exploitation.
- File system writes: Look for new files written to web root directories, temp folders, or cron directories by the application process — especially scripts or executables placed there after an unusual inbound request.
- Internal pivot follow-on: After gaining a foothold, attackers move laterally. Search for new internal connections originating from the compromised server in the hour following any suspicious external request.
Recommended Actions
Immediate (0–24 Hours)
- Inventory: Identify all systems running TanStack TanStack. Include production, staging, dev, and cloud environments — untracked instances are the most likely to remain unpatched.
- Validate internet-facing exposure: Determine which of the affected systems are reachable from the public internet. Prioritize these for immediate remediation or compensating controls.
- Apply compensating controls now: For systems that cannot be patched immediately, implement temporary mitigations: restrict access via firewall rules or ACLs, add WAF rules if applicable, disable or isolate the vulnerable component if feasible without breaking critical operations.
- Verify software integrity: Before applying updates, confirm that software packages and update mechanisms have not been tampered with. Compare hashes against vendor-published values.
Remediation
- Apply the vendor patch: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- CISA directive deadline: 2026-06-10 — this is the mandatory deadline for US federal civilian agencies under BOD 22-01. All organizations should treat this date as a strong target regardless of federal mandate.
- Verify remediation: After patching, confirm the correct version is installed on all affected hosts. Run a vulnerability scan or use your asset management tooling to verify — do not rely solely on change tickets.
- Post-patch review: After patching, review web server and application logs for signs of exploitation prior to remediation. A successful exploit may have left behind a web shell, new account, or scheduled task.
Detection Coverage
- Verify ATT&CK coverage: Confirm your SIEM and EDR have detection logic in place for T1195.002, T1190. Review the Detection Guidance and Hunting Considerations sections of this alert for the specific log sources and behavioral patterns to monitor.
- Unauthenticated exploitation monitoring: Because this vulnerability requires no authentication, internet-facing scanning and exploitation attempts may begin within hours of public disclosure. Ensure alerting is in place before the end of the day.
- Threat intelligence feeds: Monitor your TI feeds and vendor advisory channels for published indicators of compromise (IOCs), proof-of-concept exploit releases, or active campaign reporting associated with this CVE — these should trigger an immediate hunt even if no internal alerts have fired.
Vulnerability Details
- CVE: CVE-2026-45321
- Vendor: TanStack
- Product: TanStack
- CWE: CWE-506
- Date Added to CISA KEV: 2026-05-27
- CISA Due Date: 2026-06-10
- Known Ransomware Campaign Use: Unknown
- CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Additional Notes
This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx ; https://nvd.nist.gov/vuln/detail/CVE-2026-45321
Stay Ahead
Found this useful? Get every alert as it publishes.
Free. No account. No email. Follow in Feedly, Inoreader, or any RSS reader.
Or follow on X for alerts in your feed: