CVE-2026-139998
JSON

8.7high

React Router: Polynomial-time ReDoS in matchPath and matchRoutes trailing-slash handling

Severity
8.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.73% (higher than 55% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
remix-run react-router>= 6.0.0, < 7.18.3, >= 8.0.0, < 8.3.1CVE List

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-139998 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-139998 changed 2026-11-30Public domain