Home / remix-run / react-router / CVE-2025-61686
CVE-2025-61686: is it exploited, and which versions of remix-run react-router are affected and fixed?
CVE-2025-61686 is a path traversal (reading or writing files outside the intended folder) vulnerability in remix-run react-router. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: @react-router/node from 7.0.0 before 7.9.4, @remix-run/node before 2.17.2 and @remix-run/deno before 2.17.2 (GitHub advisory GHSA-9583-h5hc-x8cw). Fixed in 7.9.4 and 2.17.2 (GitHub advisory GHSA-9583-h5hc-x8cw). Severity: Critical (9.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:14 UTC.
What is 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.
From the CVE record by GitHub_M, last updated July 15, 2026, 01:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| remix-run | react-router | @react-router/node >= 7.0.0, < 7.9.4 @remix-run/deno < 2.17.2 @remix-run/node < 2.17.2 |
As the CVE record by GitHub_M states it, last updated July 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @react-router/node | >= 7.0.0, < 7.9.4 | 7.9.4 | GHSA-9583-h5hc-x8cw |
| npm | @remix-run/node | < 2.17.2 | 2.17.2 | GHSA-9583-h5hc-x8cw |
| npm | @remix-run/deno | < 2.17.2 | 2.17.2 | GHSA-9583-h5hc-x8cw |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 18, 2026. Summary: React Router has Path Traversal in File Session Storage.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| shopify | react-router\/node | from 7.0.0 before 7.9.4 | application |
| shopify | remix-run\/deno | before 2.17.2 | application |
| shopify | remix-run\/node | before 2.17.2 | application |
NVD analysis (status Modified), last modified July 15, 2026, 02:17 UTC.
How severe is CVE-2025-61686?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H | GitHub_M |
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-61686 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, January 12, 2026)
- EPSS
- 17.3% probability of exploitation activity in the next 30 days, percentile 97.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/remix-run/react-router/security/advisories/GHSA-9583-h5hc-x8cw x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2025-61686 vdb-entry, x_refsource_REDHAT
- RHBZ#2428423 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-61686.json x_sadp-csaf-vex
When was it published, and where is the official record?
- Reserved
- September 29, 2025
- Published
- January 10, 2026, 02:41 UTC
- CVE record updated
- July 15, 2026, 01:25 UTC by GitHub_M
- NVD
- Modified, last modified July 15, 2026, 02:17 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:14 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect react-router?
- Nov 30, 2026CVE-2026-139999 remix-run react-router: cross-site request forgery (CSRF)
- Nov 30, 2026CVE-2026-139998 remix-run react-router: denial of service (uncontrolled resource consumption)
- Nov 30, 2026CVE-2026-139997 remix-run react-router: open redirect
- Nov 30, 2026CVE-2026-139996 remix-run react-router: prototype pollution
- Nov 30, 2026CVE-2026-139994 remix-run react-router: cross-site scripting (XSS)
- Jul 27, 2026CVE-2026-53669 remix-run react-router: open redirect
- Jul 27, 2026CVE-2026-55685 remix-run react-router: denial of service (uncontrolled resource consumption)
- Jul 27, 2026CVE-2026-53668 remix-run react-router: open redirect
Questions about CVE-2025-61686
Is CVE-2025-61686 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 17.3% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of remix-run react-router are affected by CVE-2025-61686?
@react-router/node from 7.0.0 before 7.9.4, @remix-run/node before 2.17.2 and @remix-run/deno before 2.17.2, per the GitHub advisory GHSA-9583-h5hc-x8cw. The tables above give every range the sources list.
Which version fixes CVE-2025-61686?
7.9.4 and 2.17.2, per the GitHub advisory GHSA-9583-h5hc-x8cw. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-61686?
Critical (9.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-61686?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.