Skip to main content
Mallory
High

Remote Code Execution in React Router Framework Mode single-fetch deserialization

IdentifiersCVE-2026-42211CWE-502· Deserialization of Untrusted Data

CVE-2026-42211 affects React Router versions 7.0.0 through 7.14.1 when used in Framework Mode. The issue is in the single-fetch data transmission mechanism, which uses a vendored fork of turbo-stream v2 to serialize and deserialize complex JavaScript objects between client and server. According to the provided content, the vulnerable logic is in the error-handling path of the single-fetch deserializer, where untrusted serialized error parameters can cause dynamic hydration of specific JavaScript error subtypes and arbitrary constructor instantiation. In practice, this insecure deserialization condition can be chained with an existing prototype pollution vulnerability in the application code in a two-step attack, resulting in unauthorized remote code execution on the server. Applications using Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>) are not affected.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can lead to unauthorized remote code execution on the remote server hosting the React Router application. The provided content indicates this may allow an unauthenticated attacker to manipulate server-side execution flow and potentially obtain shell-level access, with resulting compromise of confidentiality, integrity, and availability.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, reduce exposure by avoiding Framework Mode where feasible and using Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>), which the provided content states are not impacted. Also identify and remediate any prototype pollution vulnerabilities in application code, since exploitation requires chaining with such a flaw.

Remediation

Patch, then assume compromise.

Upgrade React Router to version 7.14.2 or later. The provided advisory states that version 7.14.2 patches CVE-2026-42211.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
ShopifyReact-Routerapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity3

Community discussion across Reddit, Mastodon, and other social sources.