CVE-2026-139998
high
CVSS v3
—
CVSS v4 NEW
8.7
VIR risk
8.7
Description
React Router: Polynomial-time ReDoS in matchPath and matchRoutes trailing-slash handling
Predictions
Exploit likelihood
20%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| npm | react-router | >= 8.0.0, < 8.3.1 | 8.3.1 |
| npm | react-router | >= 6.0.0, < 7.18.3 | 7.18.3 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| remix-run | react-router | >= 6.0.0, < 7.18.3 | |
| remix-run | react-router | >= 8.0.0, < 8.3.1 | |
References
- https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v831
- https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7183
- https://github.com/remix-run/react-router/commit/308d206e9afe75f8ac20f1028fe93491302bbf8c
- https://github.com/remix-run/react-router/commit/6cc6f7a657e5808a510627ac6d9c0456ddeda9f0
- https://github.com/remix-run/react-router/pull/15417
- https://github.com/remix-run/react-router/pull/15423
- https://github.com/remix-run/react-router/releases/tag/react-router@7.18.3
- https://github.com/remix-run/react-router/releases/tag/react-router@8.3.1
- https://github.com/remix-run/react-router/security/advisories/GHSA-x8j4-g9rr-8j87
- https://nvd.nist.gov/vuln/detail/CVE-2026-139998
- https://github.com/advisories/GHSA-x8j4-g9rr-8j87
CWEs
CWE-400 CWE-1333
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.