Intel

AIKIDO-2026-10020

@tanstack/router-core is vulnerable to Open Redirect

Open Redirect Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jan 12, 2026

66

Medium Risk

This Affects:

JS@tanstack/router-core
1.136.3 - 1.145.6
Fixed in 1.145.7
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Open Redirection, where the router does not properly validate or sanitize URL path segments before processing redirects. An attacker can exploit this by crafting a malformed URL containing injected carriage returns and external domains, such as http://localhost:3000/%0d/evil.com/, which causes the application to redirect users to an arbitrary, attacker-controlled site. This rogue redirect can be used for phishing attacks, malware distribution, or to leverage trust in the application's domain.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@tanstack/router-core is vulnerable to Open Redirect in versions 1.136.3 - 1.145.6.

How to fix this

Upgrade the @tanstack/router-core library to the patch version.