Skip to content

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

CriticalCVSS 9.1 EPSS 17.3%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Red Hat

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.

Upgrade path

48 packages: 6 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
redhat jbosseapxp All versions No fix listed No fix yet
redhat multicluster engine All versions No fix listed No fix yet
redhat openshift ai All versions No fix listed No fix yet
redhat openshift lightspeed All versions No fix listed No fix yet
redhat optaplanner All versions No fix listed No fix yet
react-router @react-router/node(npm) >= 7.0.0, < 7.9.4; >= 7.0.0, <= 7.9.3 7.9.4 Fixed
remix-run @remix-run/deno(npm) < 2.17.2; <= 2.17.1 2.17.2 Fixed
remix-run @remix-run/node(npm) < 2.17.2; <= 2.17.1 2.17.2 Fixed
shopify react-routernode >= 7.0.0, < 7.9.4 7.9.4 Fixed
shopify remix-rundeno < 2.17.2 2.17.2 Fixed
shopify remix-runnode < 2.17.2 2.17.2 Fixed
redhat acm = 2 No fix listed Versions listed
redhat advanced cluster security = 4 No fix listed Versions listed
redhat ansible automation platform = 2 No fix listed Versions listed
redhat apache camel hawtio = 4 No fix listed Versions listed
redhat connectivity link = 1 No fix listed Versions listed
redhat container native virtualization = 4 No fix listed Versions listed
redhat cryostat = 4 No fix listed Versions listed
redhat discovery = 2 No fix listed Versions listed
redhat edge manager = 0; = 1 No fix listed Versions listed
redhat enterprise linux = 8; = 9; = 10 No fix listed Versions listed
redhat gatekeeper = 3 No fix listed Versions listed
redhat jboss data grid = 8 No fix listed Versions listed
redhat jboss enterprise application platform = 8 No fix listed Versions listed
redhat jboss enterprise bpms platform = 7 No fix listed Versions listed
redhat jboss fuse = 7 No fix listed Versions listed
redhat kueue operator = 1 No fix listed Versions listed
redhat logging = 5 No fix listed Versions listed
redhat migration toolkit applications = 7; = 8 No fix listed Versions listed
redhat migration toolkit virtualization = 2 No fix listed Versions listed

… and 18 more packages.

Affected products

ProductAffected versionsFixed in
react-router @react-router/node(npm) >= 7.0.0, <= 7.9.3 No fix listed
remix-run @remix-run/node(npm) <= 2.17.1 No fix listed
remix-run @remix-run/deno(npm) <= 2.17.1 No fix listed
remix-run react-router = @react-router/node >= 7.0.0, < 7.9.4 No fix listed
remix-run react-router = @remix-run/deno < 2.17.2 No fix listed
remix-run react-router = @remix-run/node < 2.17.2 No fix listed
redhat cryostat = 4 No fix listed
redhat gatekeeper = 3 No fix listed
redhat logging = 5 No fix listed
redhat migration toolkit applications = 7 No fix listed
redhat migration toolkit applications = 8 No fix listed
redhat rhmt = 1 No fix listed
redhat migration toolkit virtualization = 2 No fix listed
redhat multicluster engine All versions No fix listed
redhat network observ optr = 1 No fix listed
redhat workload availability nhc = 0 No fix listed
redhat openshift lightspeed All versions No fix listed
redhat openshift pipelines = 1 No fix listed
redhat service mesh = 2 No fix listed
redhat service mesh = 3 No fix listed
redhat acm = 2 No fix listed
redhat advanced cluster security = 4 No fix listed
redhat ansible automation platform = 2 No fix listed
redhat apache camel hawtio = 4 No fix listed
redhat service registry = 2 No fix listed
Show 33 more
ProductAffected versionsFixed in
redhat kueue operator = 1 No fix listed
redhat optaplanner All versions No fix listed
redhat connectivity link = 1 No fix listed
redhat jboss data grid = 8 No fix listed
redhat rhdh = 1 No fix listed
redhat discovery = 2 No fix listed
redhat edge manager = 1 No fix listed
redhat edge manager = 0 No fix listed
redhat enterprise linux = 10 No fix listed
redhat enterprise linux = 8 No fix listed
redhat enterprise linux = 9 No fix listed
redhat jboss fuse = 7 No fix listed
redhat jboss enterprise application platform = 8 No fix listed
redhat jbosseapxp All versions No fix listed
redhat openshift ai All versions No fix listed
redhat openshift = 4 No fix listed
redhat openshift data foundation = 4 No fix listed
redhat openshift devspaces = 3 No fix listed
redhat openshift distributed tracing = 3 No fix listed
redhat openshift gitops = 1 No fix listed
redhat container native virtualization = 4 No fix listed
redhat jboss enterprise bpms platform = 7 No fix listed
redhat quay = 3 No fix listed
redhat satellite = 6 No fix listed
redhat red hat single sign on = 7 No fix listed
redhat trusted artifact signer = 1 No fix listed
redhat trusted profile analyzer = 2 No fix listed
shopify react-routernode >= 7.0.0, < 7.9.4 7.9.4
shopify remix-rundeno < 2.17.2 2.17.2
shopify remix-runnode < 2.17.2 2.17.2
react-router @react-router/node(npm) >= 7.0.0, < 7.9.4 7.9.4
remix-run @remix-run/node(npm) < 2.17.2 2.17.2
remix-run @remix-run/deno(npm) < 2.17.2 2.17.2

References