CVE-2026-139995
React Router: Unauthenticated denial of service via unbounded route-manifest path expansion during SSR document rendering
Also known as GHSA-2rq8-3rm6-2w8f
AI summary AI generated
An unauthenticated attacker can send crafted requests to make React Router apps with server-side route discovery consume excessive resources, causing denial of service.
Mitigation
- Upgrade react-router to one of 7.18.5, 8.5.1 (or later in the same release line).
Who should check
- Projects that depend on npm package react-router (>= 7.0.0, < 7.18.5)
Vulnerability facts
- Affected
- react-router >= 7.0.0, < 7.18.5
- Fixed in
- 7.18.5, 8.5.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, GitHub)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- CWE
- CWE-400, CWE-407
- Modified
Description
React Router applications performing server-side route discovery may consume excessive server resources when processing specially crafted requests, potentially resulting in denial of service. **Affected Modes:** Framework, RSC Data (unstable), and RSC Framework (unstable). In Framework Mode, exposure requires server-side rendering with lazy route discovery enabled. In the RSC modes, affected processing can also occur when handling RSC data requests.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm react-router | >= 7.0.0, < 7.18.5 | 7.18.5, 8.5.1 | ghsa |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-139995. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-139995.md Affected: react-router >= 7.0.0, < 7.18.5 Fixed in: 7.18.5, 8.5.1 Steps: 1. Search this machine and project for react-router (npm): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Patches
Other
- https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v851
- https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7185
- https://github.com/remix-run/react-router/releases/tag/react-router@7.18.5
- https://github.com/remix-run/react-router/releases/tag/react-router@8.5.1
- https://github.com/advisories/GHSA-2rq8-3rm6-2w8f
FAQ
Is CVE-2026-139995 being exploited?
There is no confirmed exploitation: CVE-2026-139995 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-139995?
High: CVSS 7.5 (v3.1, scored by GitHub). Remote, no login needed.
Which versions are affected by CVE-2026-139995?
react-router >= 7.0.0, < 7.18.5.
Is there a fix for CVE-2026-139995?
Yes. Fixed in 7.18.5, 8.5.1. Upgrade react-router to one of 7.18.5, 8.5.1 (or later in the same release line).
How do I check if I'm affected by CVE-2026-139995?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More react-router vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.4 | CVE-2026-139996 React Router: Prototype Pollution via Vendored turbo-stream Deserializer | npm packages+1 | ||
| MEDIUM 4.7 | CVE-2026-139994 React Router: Cross-site Scripting due to escapeHtml use in meta refresh HTML attributes | npm packages+1 |