CVE-2026-55685: React Router Denial of Service Vulnerability
HIGHCVE-2026-55685 is a HIGH denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting React Router libraries in the npm ecosystem. The issue involves unauthenticated denial of service via inefficient route matching. Remediation is available by upgrading affected packages to version 7.18.0.
CVE-2026-55685 at a Glance
How to Fix CVE-2026-55685
To remediate this vulnerability, upgrade all affected React Router dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install react-router@7.18.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls react-router
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-55685, inspect your project dependencies using npm:
npm ls react-router
Analyze the terminal output to locate any version of React Router in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.18.0), your application is affected.
Note: The npm ls react-router command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In React Router, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-55685 Affected React Router Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
react-router
|
npm |
≥ 7.0.0
< 7.18.0
|
7.18.0
|
References
Frequently Asked Questions
What is CVE-2026-55685?
Which React Router versions are affected?
What version fixes CVE-2026-55685?
Is react-router affected?
What CWE is associated with CVE-2026-55685?
How can I check npm dependencies for CVE-2026-55685?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-chx6-hx7r-mcp5",
"modified" : "2026-07-24T14:06:57Z",
"published" : "2026-07-24T14:06:57Z",
"aliases" : [ "CVE-2026-55685" ],
"summary" : "React Router: Unauthenticated Denial of Service via Inefficient Route Matching",
"details" : "This is a follow up to https://github.com/remix-run/react-router/security/advisories/GHSA-8x6r-g9mw-2r78 that covers additional reported scenarios in which the manifest endpoint could be accessed via unauthenticated targeted requests that would put heavy load on the server and slow down response times.\n\n> [!NOTE]\n> This only impacts Framework Mode applications. This does not impact your application if you are using Declarative or Data Mode.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "react-router"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.18.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/remix-run/react-router/security/advisories/GHSA-chx6-hx7r-mcp5"
}, {
"type" : "WEB",
"url" : "https://github.com/remix-run/react-router/pull/15186"
}, {
"type" : "WEB",
"url" : "https://github.com/remix-run/react-router/commit/09e6020d1950e54f361f7ad00938ecd4dde60929"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/remix-run/react-router"
}, {
"type" : "WEB",
"url" : "https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180"
}, {
"type" : "WEB",
"url" : "https://github.com/remix-run/react-router/releases/tag/react-router@7.18.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400", "CWE-407" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-24T14:06:57Z",
"nvd_published_at" : null
}
}