CVE-2025-61686React Router has Path Traversal in File Session Storage
- 9.1CriticalCVSS base score
- 17.3%Exploitation in 30 daysEPSS · top 2.8% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 3 months later
· 3 months later
Published
- 6 months later
· 6 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| redhat-SADPADP (enrichment) | 3.1 | Critical9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVDNVD · Modified | 3.1 | Critical9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
- EPSS (exploitation in 30 days)
- 17.3% · top 2.8% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.1.
Affected products
- affected @react-router/node >= 7.0.0, < 7.9.4
- affected @remix-run/deno < 2.17.2
- affected @remix-run/node < 2.17.2
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npm@react-router/nodeGHSA-9583-h5hc-x8cw (opens in a new tab)
- npm@remix-run/denoGHSA-9583-h5hc-x8cw (opens in a new tab)
- npm@remix-run/nodeGHSA-9583-h5hc-x8cw (opens in a new tab)
References
References4
- https://github.com/remix-run/react-router/security/advisories/GHSA-9583-h5hc-x8cw (opens in a new tab)x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2025-61686 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2428423 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-61686.json (opens in a new tab)x_sadp-csaf-vex
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-1468 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-9583-h5hc-x8cw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-61686)Record last updated .