Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
remix-run react-router
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

react-router是Remix开源的一个 React 的声明式路由。 react-router存在路径遍历漏洞,该漏洞源于使用未签名cookie时,会话可能尝试从指定会话文件目录之外的位置读取或写入。

CVSS 9.1 · Critical EPSS 17.35% · P97

Affected Version Matrix 3

VendorProduct Version RangeStatus
remix-run react-router @react-router/node >= 7.0.0, < 7.9.4 affected
@remix-run/deno < 2.17.2 affected
@remix-run/node < 2.17.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-61686

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
React Router has Path Traversal in File Session Storage
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
react-router 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
react-router是Remix开源的一个 React 的声明式路由。 react-router存在路径遍历漏洞,该漏洞源于使用未签名cookie时,会话可能尝试从指定会话文件目录之外的位置读取或写入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
remix-run react-router @react-router/node >= 7.0.0, < 7.9.4 -

II. Public POCs for CVE-2025-61686

# POC Description Source Link Shenlong Link
1 CVE-2025-61686复现的dockerfile与poc https://github.com/FlowerWitch/CVE-2025-61686_docker POC Details
2 None https://github.com/Kai-One001/React-Router-CVE-2025-61686- POC Details
3 React Router's createFileSessionStorage() in certain versions allows unsigned cookies to be manipulated, enabling file system access outside the session directory. https://github.com/boroeurnprach/CVE-2025-61686-PoC POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-61686

请登录查看更多情报信息。

Vendor Advisories for CVE-2025-61686 (1)

Same Patch Batch · remix-run · 2026-01-10 · 6 CVEs total

CVE-2026-21884 8.2 HIGH React Router SSR XSS in ScrollRestoration
CVE-2026-22029 8.0 HIGH React Router vulnerable to XSS via Open Redirects
CVE-2025-59057 7.6 HIGH React Router has XSS Vulnerability
CVE-2026-22030 6.5 MEDIUM React Router has CSRF issue in Action/Server Action Request Processing
CVE-2025-68470 6.5 MEDIUM React Router has unexpected external redirect via untrusted paths

IV. Related Vulnerabilities

V. Comments for CVE-2025-61686

No comments yet


Leave a comment