CVE-2026-42211
Received Received - Intake
Remote Code Execution in React Router Framework Mode

Publication date: 2026-06-02

Last updated on: 2026-06-02

Assigner: GitHub, Inc.

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 (`<BrowserRouter>`) or Data Mode (`createBrowserRouter/<RouterProvider>`). This is patched in version 7.14.2.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-02
Last Modified
2026-06-02
Generated
2026-06-03
AI Q&A
2026-06-02
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
remix-run react_router From 7.0.0 (inc) to 7.14.1 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-502 The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2026-42211 is a high-severity vulnerability in React Router versions 7.0.0 through 7.14.1 when used in Framework Mode. It involves a two-step attack that can lead to unauthorized remote code execution (RCE) on the server. This attack requires the application to already have a prototype pollution vulnerability, which is then exploited to trigger the RCE through external requests.

This vulnerability does not affect applications using Declarative Mode or Data Mode. It is related to the deserialization of untrusted data without proper validation, classified under CWE-502.


How can this vulnerability impact me? :

If exploited, this vulnerability can allow an attacker to execute arbitrary code remotely on your server without requiring any special privileges or user interaction.

This can lead to severe impacts on the confidentiality, integrity, and availability of your application and data.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, upgrade React Router to version 7.14.2 or later, where the issue is patched.

Additionally, ensure that your application does not have existing prototype pollution vulnerabilities, as this vulnerability requires such a flaw to be exploitable.

Avoid using Framework Mode if possible, or switch to Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>), which are not impacted by this vulnerability.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The vulnerability allows unauthorized remote code execution (RCE) on affected servers, which can lead to significant impacts on confidentiality, integrity, and availability of data.

Such impacts could potentially result in non-compliance with common standards and regulations like GDPR and HIPAA, which require protection of sensitive data and secure handling of personal information.

However, the vulnerability itself requires an existing prototype pollution flaw in the application code to be exploitable, meaning that compliance risks depend on the presence of that additional vulnerability.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart