CVE-2026-139995 is a high-severity (CVSS 7.5) vulnerability in react-router. A fix is available for react-router — see the affected versions and patch details below.
React Router: Unauthenticated denial of service via unbounded route-manifest path expansion during SSR document rendering
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
react-routernpmDescription
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | react-router | ≥ 7.0.0&&< 7.18.5 | 7.18.5npm install react-router@7.18.5 |
| 📦npm | react-router | ≥ 8.0.0&&< 8.5.1 | 8.5.1npm install react-router@8.5.1 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for react-router, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update react-router to 7.18.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-139995 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2026-139995 in your dependencies?
Find it across npm, including transitive dependencies.