# CVE-2026-139995: React Router: Unauthenticated denial of service via unbounded route-manifest path expansion during SSR document rendering

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **CWE:** CWE-400, CWE-407
- **Aliases:** GHSA-2rq8-3rm6-2w8f
- **Published:** 2026-12-01T02:39:03.000Z
- **Modified:** 2026-12-01T02:39:04.000Z

> **AI summary (AI-generated, claude-haiku-5-5):** An unauthenticated attacker can send crafted requests to make React Router apps with server-side route discovery consume excessive resources, causing denial of service.

## Who should check

- Projects that depend on npm package react-router (\>= 7.0.0, \< 7.18.5)

## 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

- npm `react-router`: affected \>= 7.0.0, \< 7.18.5; fixed 7.18.5, 8.5.1 (ghsa)

## Technologies

Node.js (AI-matched), npm packages, React (AI-matched)

## Mitigation

- Upgrade react-router to one of 7.18.5, 8.5.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/remix-run/react-router/security/advisories/GHSA-2rq8-3rm6-2w8f>
- patch: <https://github.com/remix-run/react-router/pull/15703>
- patch: <https://github.com/remix-run/react-router/pull/15704>
- patch: <https://github.com/remix-run/react-router/commit/393d7c13de73ad062d999b849f79cc2b3a36821c>
- patch: <https://github.com/remix-run/react-router/commit/707925e46113299f21c82dc1ca01b9fb66d0f53f>
- other: <https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v851>
- other: <https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7185>
- other: <https://github.com/remix-run/react-router/releases/tag/react-router@7.18.5>
- other: <https://github.com/remix-run/react-router/releases/tag/react-router@8.5.1>
- other: <https://github.com/advisories/GHSA-2rq8-3rm6-2w8f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-2rq8-3rm6-2w8f> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-139995> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139995>
