CVEfocus › CVE database › CVE-2026-42211

CVE-2026-42211React Router's vendored turbo-stream v2 allows arbitrary constructor invocation via…

CVSS 8.1 HighEPSS 0.6% (higher than 44% of CVEs)Published 2026-06-02Updated 2026-06-03Assigner: GitHub_M

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.

CWE-502

What to do

Fixed builds are available from npm: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
19Fix pending
24Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10grafana-selinuxNot affected
Red Hat Enterprise Linux 10ipaFix pending
Affected
Red Hat Enterprise Linux 10ipa-clientFix pending
Affected
Red Hat Enterprise Linux 10ipa-client-commonFix pending
Affected
Red Hat Enterprise Linux 10ipa-client-encrypted-dnsFix pending
Affected
Red Hat Enterprise Linux 10ipa-client-epnFix pending
Affected
Red Hat Enterprise Linux 10ipa-client-sambaFix pending
Affected
Red Hat Enterprise Linux 10ipa-commonFix pending
Affected
Red Hat Enterprise Linux 10ipa-selinuxFix pending
Affected
Red Hat Enterprise Linux 10ipa-selinux-lunaFix pending
Affected
Red Hat Enterprise Linux 10ipa-selinux-nfastFix pending
Affected
Red Hat Enterprise Linux 10ipa-serverFix pending
Affected
Red Hat Enterprise Linux 10ipa-server-commonFix pending
Affected
Red Hat Enterprise Linux 10ipa-server-dnsFix pending
Affected
Red Hat Enterprise Linux 10ipa-server-encrypted-dnsFix pending
Affected
Red Hat Enterprise Linux 10ipa-server-trust-adFix pending
Affected
Red Hat Enterprise Linux 10python3-ipaclientFix pending
Affected
Red Hat Enterprise Linux 10python3-ipalibFix pending
Affected
Red Hat Enterprise Linux 10python3-ipaserverFix pending
Affected
Red Hat Enterprise Linux 10python3-ipatestsFix pending
Affected
Red Hat Enterprise Linux 9ipaNot affected
Red Hat Enterprise Linux 9ipa-clientNot affected
Red Hat Enterprise Linux 9ipa-client-commonNot affected
Red Hat Enterprise Linux 9ipa-client-encrypted-dnsNot affected
Red Hat Enterprise Linux 9ipa-client-epnNot affected
Red Hat Enterprise Linux 9ipa-client-sambaNot affected
Red Hat Enterprise Linux 9ipa-commonNot affected
Red Hat Enterprise Linux 9ipa-selinuxNot affected
Red Hat Enterprise Linux 9ipa-selinux-lunaNot affected
Red Hat Enterprise Linux 9ipa-selinux-nfastNot affected
Red Hat Enterprise Linux 9ipa-serverNot affected
Red Hat Enterprise Linux 9ipa-server-commonNot affected
Red Hat Enterprise Linux 9ipa-server-dnsNot affected
Red Hat Enterprise Linux 9ipa-server-encrypted-dnsNot affected
Red Hat Enterprise Linux 9ipa-server-trust-adNot affected
Red Hat Enterprise Linux 9python3-ipaclientNot affected
Red Hat Enterprise Linux 9python3-ipalibNot affected
Red Hat Enterprise Linux 9python3-ipaserverNot affected
Red Hat Enterprise Linux 9python3-ipatestsNot affected
Red Hat Enterprise Linux 8dotnet5.0-build-reference-packagesNot affected
Red Hat Enterprise Linux 8pcsNot affected
Red Hat Enterprise Linux 8pcs-snmpNot affected
npm libraryreact-routerFixed7.14.2GHSA-49rj-9fvp-4h2h

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.