---
title: "CVE-2025-61686: React Router has Path Traversal in File Session Storage"
url: https://erroneo.us/security/cve/CVE-2025-61686/
description: "CVE-2025-61686 (@react-router/node (npm)): React Router is a router for React. In @react-router/node versions 7.0.0 through 7.9.3, @remix-run/deno prior to…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-01-10
date_modified: 2026-09-18
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-61686"
kev: false
cvss: 9.1
epss: 0.17346
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** High exploit likelihood. EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 17.3% , percentile 97: FIRST’s model estimates a 17.3% chance of exploitation activity in the next 30 days, higher than 97% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes @react-router/node (npm) >= 7.0.0, <= 7.9.3, fixed in 7.9.4 ; @remix-run/node (npm) <= 2.17.1, fixed in 2.17.2 ; @remix-run/deno (npm) <= 2.17.1, fixed in 2.17.2 . Check your lockfile, including transitive dependencies.

## What it is

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 packages

- npm `@react-router/node` >= 7.0.0, <= 7.9.3 → fixed: 7.9.4
- npm `@remix-run/node` <= 2.17.1 → fixed: 2.17.2
- npm `@remix-run/deno` <= 2.17.1 → fixed: 2.17.2

## Affected products (CVE record)

- 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

## Severity

- GitHub_M CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- redhat-SADP CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact partial .
- FIRST EPSS (model of 2026-10-21): 17.35% probability of exploitation activity in the next 30 days; percentile 97.

## Sources

- [GitHub Advisory GHSA-9583-h5hc-x8cw](https://github.com/advisories/GHSA-9583-h5hc-x8cw)
- [CVE.org record CVE-2025-61686](https://www.cve.org/CVERecord?id=CVE-2025-61686)
- [NVD entry CVE-2025-61686](https://nvd.nist.gov/vuln/detail/CVE-2025-61686)
- [github.com](https://github.com/remix-run/react-router/security/advisories/GHSA-9583-h5hc-x8cw)
- [access.redhat.com](https://access.redhat.com/security/cve/CVE-2025-61686)
- [RHBZ#2428423](https://bugzilla.redhat.com/show_bug.cgi?id=2428423)
- [security.access.redhat.com](https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-61686.json)

---
Source page: https://erroneo.us/security/cve/CVE-2025-61686/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
