Skip to main content

React Router EUVDEUVD-2026-139696

| CVE-2026-139998 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-11-30 security-advisories@github.com
8.7
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted long URL path
  2. Exploit
    Path reaches regex route matcher
  3. Execution
    Matching performs excessive CPU work
  4. Impact
    CPU exhaustion denies service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that attacker-influenced path strings reach React Router's route matcher. The server-side (denial-of-service against infrastructure) case requires the application to run route matching on the server - Framework, Data, or unstable RSC Data/RSC Framework modes with SSR - so that crafted HTTP request paths are matched; this is the high-impact scenario. In purely client-side Declarative/Data deployments, matching runs in the victim's browser and the excessive CPU affects that single client, limiting impact to self-inflicted or lure-based cases rather than service-wide outage. Applies only to react-router 6.0.0 through 7.18.2 and 8.0.0 through 8.3.0; the only complete fix is upgrading to 7.18.3 or 8.3.1 as stated by the vendor. No authentication or user interaction is required for the server-side path (PR:N/UI:N).

Impact

This is a genuine but bounded availability risk. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 8.7 (High) on the strength of a remote, unauthenticated, low-complexity trigger whose only impact is availability (VA:H; VC:N/VI:N). The underlying weakness is CWE-400/CWE-1333 - inefficient regular-expression handling that performs excessive work on long paths, confirmed by the fix commit which replaces a /\/+$/ RegExp in removeTrailingSlash with a reverse character scan. No EPSS probability, no CISA KEV listing, and no confirmed proof-of-concept are present in the input, so there is no signal of active or widespread exploitation; the vuln.today priority is 'this_week' rather than act_now/emergency, which is consistent with a high-CVSS DoS that is not yet observed in the wild. The 8.7 score reflects worst-case server-side matching where attacker-controlled HTTP paths reach the router; where matching runs only in the browser, the practical impact is largely self-inflicted on the victim's own client and the real-world severity is lower than the headline score. No conflicting signals, but note the CVSS AV:N/VA:H treats all affected modes uniformly while the advisory explicitly states impact location (browser vs server) depends on where matching occurs - verify the deployment's rendering mode to gauge true exposure.

Exploit ScenarioDerived

An application using React Router 6.0.0-7.18.2 or 8.0.0-8.3.0 performs route matching on a server (SSR/Framework/RSC modes) and an unauthenticated attacker sends HTTP requests containing specially crafted, very long URL paths. Each request forces the regex-based matcher into excessive CPU work, and a modest volume of such requests exhausts server CPU and denies service to legitimate users. No public exploit is identified in the provided data, though the fix commit and PRs publicly describe the affected code path.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 30, 2026

React Router 6.0.0 through 7.18.2 and 8.0.0 through 8.3.0 can be driven into excessive CPU consumption by specially crafted long paths during route matching, causing denial of service. The high-impact case is server-side route matching in Framework, Data, or unstable RSC deployments with SSR, where an unauthenticated remote attacker can send crafted request paths with no user interaction; in purely client-side Declarative/Data deployments the CPU impact is confined to the victim's browser. The issue is fixed in 7.18.3 and 8.3.1, and no public exploit was identified at time of analysis.

RemediationAI

Upgrade npm react-router to 7.18.3 for the 6.x/7.x line or 8.3.1 for the 8.x line; these are the exact fixed versions listed in GHSA-x8j4-g9rr-8j87 and the corresponding release tags. The vendor advisory and independent assessment state that upgrading is the only complete fix and do not document a complete workaround, so no supported configuration change removes the issue entirely. The vuln.today decision label is this_week, so schedule the upgrade in the current weekly patch cycle and confirm that lockfiles or transitive dependency resolutions are not pinning a vulnerable react-router copy. Advisory: https://github.com/remix-run/react-router/security/advisories/GHSA-x8j4-g9rr-8j87; fixes: https://github.com/remix-run/react-router/commit/308d206e9afe75f8ac20f1028fe93491302bbf8c and https://github.com/remix-run/react-router/commit/6cc6f7a657e5808a510627ac6d9c0456ddeda9f0.

Affected VersionsENISA

react-router 6.0.0, < 7.18.3
react-router 8.0.0, < 8.3.1

Affected Packages

euvd react_router fix: 7.18.3, 8.3.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

React Router is the npm routing library for React. The affected code is in packages/react-router/lib/router/utils.ts, where matchPathImpl and removeTrailingSlash use regular-expression-based trailing-slash handling during route matching, so specially crafted long paths cause excessive regular-expression work. The advisory assigns CWE-400 and CWE-1333, and the upstream fix replaces the regular-expression approach with a backward character scan, as shown in commit 308d206e9afe75f8ac20f1028fe93491302bbf8c and PRs 15417 and 15423. Affected package ranges are npm/react-router >=6.0.0 <7.18.3 and >=8.0.0 <8.3.1; no CPE strings were supplied. Declarative, Data, Framework, unstable RSC Data, and unstable RSC Framework modes are listed as affected, with server-side matching the path that produces service-wide CPU impact; the exact crafted path format is not published in the supplied sources. The provided CVSS 4.0 vector is 8.7, while the independent assessment vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, with both agreeing on network-reachable, unauthenticated, availability-only impact.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

Remote unauthenticated crafted paths with no user interaction (AV:N/AC:L/PR:N/UI:N); only availability is affected via CPU exhaustion (A:H), no confidentiality or integrity impact, no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 30, 2026 - 22:20 EUVD
CVE Published
Nov 30, 2026 - 22:17 cve.org
HIGH 8.7

DescriptionCVE.org

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.

Technical POC Analysis

The flaw is uncontrolled resource consumption (CWE-400), with the advisory additionally classifying it as CWE-1333 (inefficient regular expression complexity).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-139998 is a high-severity denial-of-service vulnerability in React Router that enables unauthenticated attackers to exhaust server CPU via crafted long paths, disrupting service availability. Organizations running affected React Router versions in server-side rendered deployments face potential outages and degraded customer experience, requiring immediate remediation to maintain business continuity.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 45% exploitable
Prevalence
High
one of the most widely used React routing libraries, massive npm footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy