CVE-2025-61686
category: web
CVSS 9.1 (CRITICAL)
UnverifiedReact Router Session Path Traversal (CVE-2025-61686)
Published: 2026-09-03 • Researcher: boroeurnprach
Target software
React Router (@react-router/node), Remix (@remix-run/node, @remix-run/deno)
Affected versions
@react-router/node 7.0.0-7.9.3, @remix-run/node < 2.17.2, @remix-run/deno < 2.17.2
Status
PoC
Severity
Critical · CVSS 9.1
CVSS
9.1/10
- Severity
- Critical
- CVE
- CVE-2025-61686
- Category
- web
- Affected product
- React Router (@react-router/node), Remix (@remix-run/node, @remix-run/deno)
- Affected versions
- @react-router/node 7.0.0-7.9.3, @remix-run/node < 2.17.2, @remix-run/deno < 2.17.2
- Disclosed
- 2026-09-03
- Patch status
- Unverified
References
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-09-03 |
| Author / Researcher | boroeurnprach |
| CVE / Advisory | CVE-2025-61686 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.1 |
| Status | PoC |
| Tags | path traversal, React Router, Remix, session storage, JavaScript, Node.js |
Affected Target
| Field | Value |
|---|---|
| Software / System | React Router (@react-router/node), Remix (@remix-run/node, @remix-run/deno) |
| Versions Affected | @react-router/node 7.0.0-7.9.3, @remix-run/node < 2.17.2, @remix-run/deno < 2.17.2 |
| Patched Version | @react-router/node 7.9.4, @remix-run/deno 2.17.2, @remix-run/node 2.17.2 |
| Language / Platform | JavaScript / Node.js |
| Authentication Required | No (unauthenticated) |
| Network Access Required | Remote |
Summary
CVE-2025-61686 is a path traversal vulnerability in React Router and Remix. When createFileSessionStorage() is used with an unsigned cookie, an attacker can craft a session cookie containing ../../ traversal sequences to cause the session to read or write files outside the intended session directory.
Vulnerability Details
Root Cause
The session ID from an unsigned cookie is used directly in path construction without proper sanitization, allowing directory traversal.
Attack Vector
- Craft a base64-encoded session cookie containing path traversal sequences
- Send the cookie to the application
- The server attempts to read/write files outside the session directory
Impact
File read/write outside the session directory, limited by server process permissions and the requirement that read files match the session file format.
References
Notes
Auto-ingested from https://github.com/boroeurnprach/CVE-2025-61686-PoC on 2026-09-03.
| |