SecurityContext

CVE-2025-61686: @react-router/node - Path Traversal

  • Cve: CVE-2025-61686
  • Name: @react-router/node - Path Traversal
  • 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.
  • Impact: Attackers can cause session file reads/writes outside intended directory, potentially manipulating server-side session data if file format matches.
  • Remediation: Upgrade to @react-router/node 7.9.4, @remix-run/deno 2.17.2, and @remix-run/node 2.17.2 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Epss score: 0.17346
  • Epss percentile: 0.97186
  • Assignee: [email protected]
  • Published at: 2026-01-10T03:15:48Z
  • Age in days: 318
  • Modified at: 2026-07-15T02:17:32Z
  • Patch available: yes
  • Public exploits total: 3
  • References total: 4
  • Products total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-61686
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

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

Public exploits

Same in every row:

  • Source: poc-in-github
UrlAdded date
https://github.com/boroeurnprach/CVE-2025-61686-PoC2026-01-21
https://github.com/Kai-One001/React-Router-CVE-2025-61686-2026-01-16
https://github.com/FlowerWitch/CVE-2025-61686_docker2026-01-15

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/remix-run/react-router/security/advisories/GHSA-9583-h5hc-x8cwThird Party Advisory
https://access.redhat.com/security/cve/CVE-2025-61686
https://bugzilla.redhat.com/show_bug.cgi?id=2428423
https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-61686.json

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
shopify:react-router/node>= 7.0.0, < 7.9.4/v1/products/shopify/react-router/node
shopify:remix-run/deno< 2.17.2/v1/products/shopify/remix-run/deno
shopify:remix-run/node< 2.17.2/v1/products/shopify/remix-run/node

Projects

RepositoryLink kindsIndexedUrl
remix-run/react-routerpackage, security_advisoryyes/v1/repositories/remix-run/react-router

Index

  • Repositories: 27
  • Repositories high signal: 13
  • Packages: 2

Exploitation

  • Public exploit: yes
  • Public exploit count: 3
  • Public exploit first date: 2026-01-15
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts