freenode

← CVE tracker

CVE-2026-139998

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

Severity
high CVSS 8.7 (v4.0)
Affects
react-router · remix-run
Weakness
CWE-400: Uncontrolled Resource Consumption
Published
30 November 2026 by GitHub_M
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.