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

- 種別: advisory
- 重大度: high
- 関連技術: nodejs, react
- CVE: CVE-2026-139998
- 公開日時: 2026-12-01T18:28:24.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-x8j4-g9rr-8j87)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-x8j4-g9rr-8j87

影響: npm:react-router >= 6.0.0, < 7.18.3 → 7.18.3, npm:react-router >= 8.0.0, < 8.3.1 → 8.3.1
A vulnerability in React Router’s route matching may cause excessive CPU consumption when processing specially crafted paths, potentially resulting in denial of service. Affected Modes: Declarative, Data, Framework, RSC Data (unstable), and RSC Framework (unstable). Impact may occur in the browser or on the server, depending on where route matching runs.