CVE Database›CVE-2025-61686

CVE-2025-61686

react-router: React Router has Path Traversal in File Session Storage

Loading…

Severity

Critical

Red Hat Product Security

9.1

CVSS 3.1

Review impact separately from score.

Published · January 10, 2026

Updated · November 1, 2026

Description

A security issue was discovered in the react-router/node component of React Router. It is possible for an attacker manipulate an unsigned cookie 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.

Statement

No Red Hat products ship the vulnerable component.

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CWE-22 · Improper Limitation of a Pathname to a Restricted Directory