Detect TanStack Router Unspecified Vulnerability Exploitation in Google Chronicle
Detects potential exploitation of CVE-2026-45321, an unspecified vulnerability in TanStack Router that has been added to the CISA Known Exploited Vulnerabilities catalog. TanStack Router is a type-safe routing library for React applications. Given KEV status, active exploitation in the wild is confirmed. Detection focuses on anomalous web application behavior, suspicious client-side routing patterns, unexpected server-side request patterns, and post-exploitation indicators consistent with JavaScript framework exploitation.
MITRE ATT&CK
YARA-L Detection Query
rule cve_2026_45321_tanstack_exploitation {
meta:
author = "df00tech Detection Engineering"
description = "Detects exploitation attempts targeting TanStack Router CVE-2026-45321"
severity = "HIGH"
priority = "HIGH"
reference = "https://github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx"
events:
$request.metadata.event_type = "NETWORK_HTTP"
$request.principal.ip = $src_ip
(
re.regex($request.network.http.request_url, `(__proto__|constructor\.prototype|javascript:|data:text|%2e%2e|%252e)`) or
re.regex($request.network.http.request_url, `(\.\./|\.\.\\ )`)
)
match:
$src_ip over 5m
condition:
#request > 3
} Chronicle YARA-L rule detecting repeated suspicious HTTP requests to TanStack Router applications containing exploitation payloads associated with CVE-2026-45321.
Data Sources
Required Tables
False Positives & Tuning
- Security scanners and automated tools generating multiple probe requests
- Applications that legitimately encode special characters in routing parameters
- Penetration testing engagements targeting web applications in scope
- Misconfigured reverse proxies forwarding unusual URL patterns
Other platforms for CVE-2026-45321
Testing Methodology
Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1TanStack Router Prototype Pollution Probe
Expected signal: Web server access logs will show GET requests to /__proto__/polluted and query parameters containing __proto__ and constructor.prototype strings. Network flow logs will show connections to port 3000.
- Test 2TanStack Router Path Traversal via Routing Parameters
Expected signal: Web access logs will record requests containing URL-encoded path traversal sequences. WAF or web server logs should show the decoded paths if URL decoding is applied before logging.
- Test 3TanStack Router JavaScript URI Injection Attempt
Expected signal: Web server logs will capture requests containing javascript: and data: URI schemes in query parameters. If the application reflects these values, browser-side CSP violation reports may also be generated.
- Test 4Post-Exploitation Lateral Movement Simulation from Compromised Node.js Process
Expected signal: EDR telemetry will show the Node.js process (or a child process) executing id, whoami, cat, find, and env commands. Process lineage will link these to the web server parent process.
Unlock Pro Content
Get the full detection package for CVE-2026-45321 including response playbook, investigation guide, and atomic red team tests.