CVE-2025-61686 Details
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.
A vulnerability exists in React Router's Node package, as well as in Remix's Deno and Node packages, all prior to specific patched versions. When using the 'createFileSessionStorage()' function with unsigned cookies, an attacker could manipulate the session to read from or write to locations outside the designated session file directory. Exploitation success would depend on the web server's file access permissions. While read files cannot be directly returned to the attacker, if a file aligns with the expected session format, its data could be integrated into the server-side session, potentially accessible through the application's session handling logic.
Users can upgrade to '@react-router/node' version 7.9.4 or later, and '@remix-run/deno' and '@remix-run/node' versions 2.17.2 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2025-61686 | redhat-SADP | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2428423 | redhat-SADP | |
| https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-61686.json | redhat-SADP | |
| https://github.com/remix-run/react-router/security/advisories/GHSA-9583-h5hc-x8cw | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | redhat-SADP |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| shopify react-router/node | >= 7.0.0, < 7.9.4 |
CPE
Remediation
| |
| shopify remix-run/deno | < 2.17.2 |
CPE
Remediation
| |
| shopify remix-run/node | < 2.17.2 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 27, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 4, 2026 | Reanalysis | [email protected] |
| Feb 4, 2026 | Initial Analysis | [email protected] |
| Jan 10, 2026 | New CVE Received | [email protected] |