Critical severity · published Jan 10, 2026
CVE-2025-61686
React Router has Path Traversal in File Session Storage
9.1
CVSS
17.3%
EPSS
No
On KEV
Description
React Router is a router for React. In @react-router/node versions 7.0.0 through 7.9.3, @remix-run/deno prior to version 2.17.2, and @remix-run/node prior to version 2.17.2, if createFileSessionStorage() is being used from @react-router/node (or @remix-run/node/@remix-run/deno in Remix v2) with an unsigned cookie, it is possible for an attacker to cause the session to try to read/write from a location outside the specified session file directory. The success of the attack would depend on the permissions of the web server process to access those files. Read files cannot be returned directly to the attacker. Session file reads would only succeed if the file matched the expected session file format. If the file matched the session file format, the data would be populated into the server side session but not directly returned to the attacker unless the application logic returned specific session information. This issue has been patched in @react-router/node version 7.9.4, @remix-run/deno version 2.17.2, and @remix-run/node version 2.17.2.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)17.3% · higher than 97% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RE
react-router · remix-run
@react-router/node >= 7.0.0, < 7.9.4; @remix-run/deno < 2.17.2; @remix-run/node < 2.17.2 · source: vendor
RE
React-router/node · Shopify
7.0.0 before 7.9.4 · source: NVD
RE
Remix-run/deno · Shopify
before 2.17.2 · source: NVD
RE
Remix-run/node · Shopify
before 2.17.2 · source: NVD
Affected product
RE
react-router
remix-run
More from react-router
8.2
CVE-2026-21884
React Router SSR XSS in ScrollRestoration
8.1
CVE-2026-42211
React Router's vendored turbo-stream v2 allows arbitrary constructor invocation via TYPE_ERROR deserialization leading to Unauth RCE
7.6
CVE-2025-59057
React Router has XSS Vulnerability
7.5
CVE-2026-55685
React Router: Unauthenticated Denial of Service via Inefficient Route Matching
7.5
CVE-2026-42342
React Router vulnerable to DoS via unbounded path expansion in __manifest endpoint