A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42211

CVE-2026-42211: React Router Framework Mode RCE Flaw

CVE-2026-42211 is a remote code execution vulnerability in React Router Framework Mode (versions 7.0.0-7.14.1) that exploits prototype pollution to enable unauthorized code execution. This article covers technical details, impact, and mitigation.

Published: June 4, 2026

CVE-2026-42211 Overview

CVE-2026-42211 is a remote code execution (RCE) vulnerability in React Router, a popular routing library for React applications. The flaw affects versions 7.0.0 through 7.14.1 when applications run in Framework Mode. Attackers can chain an existing prototype pollution vulnerability in application code with React Router internals to achieve unauthorized RCE through external requests. The vulnerability is classified under CWE-502 (Deserialization of Untrusted Data). Applications using Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>) are not affected. The maintainers patched the issue in version 7.14.2.

Critical Impact

Successful exploitation grants attackers remote code execution on the server hosting a React Router Framework Mode application, compromising confidentiality, integrity, and availability.

Affected Products

  • React Router versions 7.0.0 through 7.14.1 (Framework Mode only)
  • Applications combining React Router Framework Mode with prototype pollution flaws
  • Server-side rendered React applications using @react-router/* framework packages

Discovery Timeline

  • 2026-06-02 - CVE-2026-42211 published to NVD
  • 2026-06-02 - Last updated in NVD database

Technical Details for CVE-2026-42211

Vulnerability Analysis

The vulnerability requires a two-step attack chain. The first step exploits an existing prototype pollution flaw in the target application code. The second step leverages the polluted prototype within React Router Framework Mode handlers to trigger unauthorized code execution on the server.

Framework Mode performs server-side request handling and data loading that processes attacker-influenced properties inherited through the polluted prototype chain. When React Router internals consume these tainted properties, the execution path reaches a sink that interprets data as code or invokes unsafe deserialization, mapped to CWE-502.

Declarative Mode and Data Mode operate client-side or through different request handling pipelines and do not reach the vulnerable code path. This narrows exposure to applications running the full Framework Mode runtime.

Root Cause

The root cause is unsafe consumption of object properties within React Router Framework Mode request handling. The framework trusts properties on objects whose prototype chain may be polluted by application-level vulnerabilities. This violates the principle of defense in depth between library and application boundaries.

Attack Vector

The attack originates over the network with no authentication or user interaction required. The attacker must first identify a prototype pollution primitive in the application code. The attacker then sends a crafted external HTTP request that triggers the pollution and routes execution through React Router internals to a code execution sink.

No verified public proof-of-concept code is available. See the GitHub Security Advisory GHSA-49rj-9fvp-4h2h for advisory-level technical details.

Detection Methods for CVE-2026-42211

Indicators of Compromise

  • Unexpected outbound network connections originating from the Node.js process serving the React Router application
  • New or modified files in the application working directory not produced by the deployment pipeline
  • HTTP requests containing payloads with __proto__, constructor, or prototype keys targeting server-side route handlers
  • Spawned child processes (sh, bash, node -e, cmd.exe) under the web application service account

Detection Strategies

  • Inventory all Node.js services and identify React Router versions between 7.0.0 and 7.14.1 running in Framework Mode
  • Perform static analysis of application code for prototype pollution sinks such as recursive Object.assign, unsafe merge, and direct bracket assignment from user input
  • Inspect web application firewall (WAF) logs for requests containing prototype pollution payload patterns
  • Correlate HTTP request bodies with subsequent child process creation events on the host

Monitoring Recommendations

  • Enable process creation auditing on application servers and alert on shells spawned by node processes
  • Forward Node.js application logs, WAF logs, and host telemetry to a centralized analytics platform for correlation
  • Monitor outbound DNS and HTTP traffic from application hosts for connections to unrecognized destinations
  • Track package version drift in CI/CD to flag deployments still pinned to vulnerable react-router releases

How to Mitigate CVE-2026-42211

Immediate Actions Required

  • Upgrade react-router and related @react-router/* packages to version 7.14.2 or later across all environments
  • Audit application dependencies and custom code for prototype pollution vulnerabilities and remediate them
  • Rotate any secrets, tokens, or credentials accessible to the application process if exploitation is suspected
  • Restrict the application service account to least-privilege file system and network access

Patch Information

The React Router maintainers fixed CVE-2026-42211 in version 7.14.2. Upgrade by running npm install react-router@7.14.2 or the equivalent command for your package manager, then redeploy. Refer to the GitHub Security Advisory GHSA-49rj-9fvp-4h2h for the official remediation guidance.

Workarounds

  • Migrate from Framework Mode to Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>) if a patched upgrade is not immediately possible
  • Deploy WAF rules that block request bodies containing __proto__, constructor.prototype, or prototype keys
  • Use Object.freeze(Object.prototype) at application startup to prevent prototype mutation
  • Run the Node.js process in a sandboxed container with read-only file system and restricted egress
bash
# Upgrade React Router to the patched version
npm install react-router@7.14.2

# Verify installed version
npm ls react-router

# Optional: freeze Object prototype at application entry point
# node -e "Object.freeze(Object.prototype)"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechReact Router

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.25%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • GitHub Security Advisory GHSA-49rj-9fvp-4h2h
  • Related CVEs
  • CVE-2026-33244: Shopify React-router XSS Vulnerability

  • CVE-2026-42342: React Router DoS Vulnerability

  • CVE-2026-40181: React Router Open Redirect Vulnerability

  • CVE-2026-34077: React Router RSC XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English