Skip to main content
VulnerabilityPublished

CVE-2026-139998: React Router · Polynomial-time ReDoS in matchPath and matchRoutes trailing-slash handling

Affects react-routerSource GCVE Database

0
Compare
Authoritative record:CVE-2026-139998· High 8.7

Not known to be exploited · CVSS 8.7 High : upgrade to 7.18.3 soon.

Data as of 1 Dec 2026, 19:00 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.08.7
Patch
Available – fixed in 7.18.3, 8.3.1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.

What to do

Upgrade react-router to 7.18.3; react-router to 8.3.1.

Affected software

ProductAffectedFixed in
npmreact-routerAffected
  • >=6.0.0 <7.18.3
Fixed in
  • 7.18.3
npmreact-routerAffected
  • >=8.0.0 <8.3.1
Fixed in
  • 8.3.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…