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

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 17.3%, higher than 97% of CVEs (2026-12-01)
- Published: 2026-01-08T20:45:07.000Z
- Modified: 2026-09-18T21:15:04.608Z
- Also known as: GHSA-9583-h5hc-x8cw
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- 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
- io.cryostat-cryostat: no versions given
- gatekeeper/gatekeeper-rhel9: no versions given
- openshift-logging/elasticsearch6-rhel9: no versions given
- openshift-logging/elasticsearch-operator-bundle: no versions given
- openshift-logging/elasticsearch-proxy-rhel9: no versions given
- openshift-logging/elasticsearch-rhel9-operator: no versions given
- openshift-logging/kibana6-rhel8: no versions given
- openshift-logging/logging-curator5-rhel9: no versions given
- openshift-logging/logging-loki-rhel9: no versions given
- openshift-logging/logging-view-plugin-rhel9: no versions given
- openshift-logging/loki-operator-bundle: no versions given
- openshift-logging/loki-rhel9-operator: no versions given
- openshift-logging/lokistack-gateway-rhel9: no versions given
- openshift-logging/opa-openshift-rhel9: no versions given
- mta/mta-ui-rhel9: no versions given
- rhmtc/openshift-migration-ui-rhel8: no versions given
- migration-toolkit-virtualization/mtv-console-plugin-rhel9: no versions given
- mtv-candidate/mtv-console-plugin-rhel9: no versions given
- multicluster-engine/console-mce-rhel8: no versions given
- multicluster-engine/console-mce-rhel9: no versions given
- network-observability/network-observability-console-plugin-compat-rhel9: no versions given
- network-observability/network-observability-console-plugin-rhel9: no versions given
- workload-availability/node-healthcheck-must-gather-rhel9: no versions given
- workload-availability/node-healthcheck-operator-bundle: no versions given
- workload-availability/node-healthcheck-rhel9-operator: no versions given
- workload-availability/node-remediation-console-rhel9: no versions given
- openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9: no versions given
- openshift-lightspeed/lightspeed-console-plugin-rhel9: no versions given
- openshift-pipelines/pipelines-console-plugin-rhel8: no versions given
- openshift-pipelines/pipelines-console-plugin-rhel9: no versions given
- openshift-pipelines/pipelines-hub-api-rhel8: no versions given
- openshift-pipelines/pipelines-hub-db-migration-rhel8: no versions given
- openshift-pipelines/pipelines-hub-ui-rhel8: no versions given
- openshift-service-mesh/kiali-ossmc-rhel8: no versions given
- openshift-service-mesh/kiali-rhel8: no versions given
- openshift-service-mesh/kiali-operator-bundle: no versions given
- openshift-service-mesh/kiali-ossmc-rhel9: no versions given
- openshift-service-mesh/kiali-rhel9: no versions given
- openshift-service-mesh/kiali-rhel9-operator: no versions given
- rhacm2/acm-flightctl-ocp-ui-rhel9: no versions given
- rhacm2/acm-flightctl-ui-rhel9: no versions given
- rhacm2/acm-grafana-rhel9: no versions given
- rhacm2/console-rhel9: no versions given
- rhacm2/prometheus-alertmanager-rhel9: no versions given
- rhacm2/prometheus-rhel9: no versions given
- advanced-cluster-security/rhacs-central-db-rhel8: no versions given
- advanced-cluster-security/rhacs-main-rhel8: no versions given
- advanced-cluster-security/rhacs-rhel8-operator: no versions given
- advanced-cluster-security/rhacs-roxctl-rhel8: no versions given
- advanced-cluster-security/rhacs-scanner-v4-db-rhel8: no versions given
- advanced-cluster-security/rhacs-scanner-v4-rhel8: no versions given
- ansible-automation-platform-25/aap-cloud-ui-rhel8: no versions given
- ansible-automation-platform-26/gateway-rhel9: no versions given
- ansible-on-clouds/aoc-azure-aap-installer-rhel9: no versions given
- automation-controller: no versions given
- automation-eda-controller: no versions given
- automation-gateway: no versions given
- automation-hub: no versions given
- automation-platform-ui: no versions given
- and 74 more: see the JSON

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `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 Critical `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 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/remix-run/react-router/security/advisories/GHSA-9583-h5hc-x8cw> (third-party-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2025-61686> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2428423> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-61686.json> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-61686> (advisory)
- <https://github.com/remix-run/react-router> (package)

## Sources

- CVE List: [CVE-2025-61686](https://www.cve.org/CVERecord?id=CVE-2025-61686), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-9583-h5hc-x8cw](https://github.com/advisories/GHSA-9583-h5hc-x8cw), CC-BY-4.0, modified 2026-09-18
- NVD: [CVE-2025-61686](https://nvd.nist.gov/vuln/detail/CVE-2025-61686), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2025-61686 · Whole record: https://cve.day/CVE-2025-61686.json · Rebuilt by cve.day 2026-11-25T22:59:10.486Z
