CVE-2025-61686 | React Router has Path Traversal in File Session Storage

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.

Published: 2026-01-10 Last update: 2026-02-04 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-61686 is rated Moderate Risk (40.3/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.04%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-61686

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-02-18 0.06% 0.04% -0.02%
2 2026-01-10 0.06%

Full EPSS history (2 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-61686

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.1 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.2 [email protected]

Weakness enumeration for CVE-2025-61686

GitHub Security Advisory for CVE-2025-61686

GHSA-9583-h5hc-x8cw · Severity: critical · Ecosystem: npm — React Router has Path Traversal in File Session Storage

OS Trackers for CVE-2025-61686

vendor priority summary link
redhat critical https://access.redhat.com/security/cve/CVE-2025-61686

Affected software / configurations for CVE-2025-61686

Vendor Product Version Raw CPE
shopify react-router\/node >= 7.0.0, < 7.9.4 cpe:2.3:a:shopify:react-router\/node:*:*:*:*:*:node.js:*:*
shopify remix-run\/deno < 2.17.2 cpe:2.3:a:shopify:remix-run\/deno:*:*:*:*:*:node.js:*:*
shopify remix-run\/node < 2.17.2 cpe:2.3:a:shopify:remix-run\/node:*:*:*:*:*:node.js:*:*

References for CVE-2025-61686

cvelogic Threat Intelligence