High severity8.1NVD Advisory· Published Jun 2, 2026· Updated Jun 4, 2026
CVE-2026-42211
CVE-2026-42211
Description
React Router is a router for React. In versions 7.0.0 through 7.14.1, when using Framework Mode, a combination of steps could potentially allow unauthorized remote code execution (RCE) through external requests. This attack requires the application code to have an existing prototype pollution vulnerability, which can then be leveraged in a 2-step attack where the second step triggers unauthorized RCE on the remote server. This does not impact applications using Declarative Mode (`) or Data Mode (createBrowserRouter/`). This is patched in version 7.14.2.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
react-routernpm | >= 7.0.0, < 7.14.2 | 7.14.2 |
Affected products
5- Range: <7.14.2
- osv-coords3 versions
< 24.0.1-r2+ 2 more
- (no CPE)range: < 24.0.1-r2
- (no CPE)range: < 24.0.1-r2
- (no CPE)range: >= 7.0.0, < 7.14.2
Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-49rj-9fvp-4h2hghsaADVISORY
- github.com/remix-run/react-router/security/advisories/GHSA-49rj-9fvp-4h2hnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-42211ghsaADVISORY
News mentions
0No linked articles in our index yet.