Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-61686

CRITICAL 9.1EPSS 55%

React Router has Path Traversal in File Session Storage

Also known as GHSA-9583-h5hc-x8cw

Mitigation

  • Upgrade @react-router/node to 7.9.4 or later.
  • Upgrade @remix-run/node to 2.17.2 or later.
  • Upgrade @remix-run/deno to 2.17.2 or later.

Who should check

  • Projects that depend on npm package @react-router/node (>= 7.0.0, < 7.9.4)
  • Projects that depend on npm package @remix-run/node (< 2.17.2)
  • Projects that depend on npm package @remix-run/deno (< 2.17.2)
  • Anyone running 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

Vulnerability facts

Affected
@react-router/node >= 7.0.0, < 7.9.4; @remix-run/node < 2.17.2; @remix-run/deno < 2.17.2
Fixed in
7.9.4, 2.17.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: High
EPSS
0.84% chance of exploitation in 30 days (percentile 55, 2026-11-26)
CWE
CWE-22
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
npm @react-router/node>= 7.0.0, < 7.9.47.9.4osv
npm @remix-run/node< 2.17.22.17.2osv
npm @remix-run/deno< 2.17.22.17.2osv
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—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-61686. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-61686.md
Affected: @react-router/node >= 7.0.0, < 7.9.4; @remix-run/node < 2.17.2; @remix-run/deno < 2.17.2
Fixed in: 7.9.4, 2.17.2

Steps:
1. Search this machine and project for @react-router/node (npm), @remix-run/node (npm), @remix-run/deno (npm), remix-run react-router: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-61686 being exploited?

There is no confirmed exploitation: CVE-2025-61686 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.84% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-61686?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-61686?

@react-router/node >= 7.0.0, < 7.9.4; @remix-run/node < 2.17.2; @remix-run/deno < 2.17.2.

Is there a fix for CVE-2025-61686?

Yes. Fixed in 7.9.4, 2.17.2. Upgrade @react-router/node to 7.9.4 or later. Upgrade @remix-run/node to 2.17.2 or later. Upgrade @remix-run/deno to 2.17.2 or later.

How do I check if I'm affected by CVE-2025-61686?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors