Description
React Router is a router for React. From 6.0.0 until 7.18.3 and 8.3.1, react Router's regular-expression-based route matching can perform excessive work when processing specially crafted long paths. Declarative, Data, Framework, unstable RSC Data, and unstable RSC Framework applications can consume excessive CPU in the browser or server, depending on where matching occurs, causing denial of service. This issue is fixed in versions 7.18.3 and 8.3.1.
Published: 2026-11-30
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No solution or workaround provided in the CVE record.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-x8j4-g9rr-8j87 React Router: Polynomial-time ReDoS in matchPath and matchRoutes trailing-slash handling
History

Thu, 03 Dec 2026 16:45:00 +0000

Type Values Removed Values Added
References

Wed, 02 Dec 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Remix-run
Remix-run react-router
Vendors & Products Remix-run
Remix-run react-router

Mon, 30 Nov 2026 19:15:00 +0000

Type Values Removed Values Added
Description React Router is a router for React. From 6.0.0 until 7.18.3 and 8.3.1, react Router's regular-expression-based route matching can perform excessive work when processing specially crafted long paths. Declarative, Data, Framework, unstable RSC Data, and unstable RSC Framework applications can consume excessive CPU in the browser or server, depending on where matching occurs, causing denial of service. This issue is fixed in versions 7.18.3 and 8.3.1.
Title React Router: Polynomial-time ReDoS in matchPath and matchRoutes trailing-slash handling
Weaknesses CWE-1333
CWE-400
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Remix-run React-router
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-12-03T15:43:59.497Z

Reserved: 2026-11-30T17:42:59.709Z

Link: CVE-2026-139998

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-30T22:17:29.050

Modified: 2026-12-03T16:18:00.193

Link: CVE-2026-139998

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-02T23:00:11Z

Weaknesses