Skip to main content
Vulnerability Database/CVE-2026-97366

CVE-2026-97366: React Native Debugger RCE Vulnerability

CVE-2026-97366 is a command injection flaw in React Native Debugger up to version 0.14.0 that enables remote code execution through the openDevTools function. This post explains its impact, affected versions, and mitigation steps.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-97366 Overview

CVE-2026-97366 is an operating system (OS) command injection vulnerability in jhen0409 react-native-debugger through version 0.14.0. The flaw resides in the openDevTools function within electron/window.js, part of the Open in Editor Handler component. An attacker can manipulate the host argument to inject arbitrary shell commands [CWE-77]. The attack can be launched remotely but requires user interaction. A public exploit has been released, and the vendor did not respond to coordinated disclosure attempts.

Critical Impact

Successful exploitation allows remote attackers to execute arbitrary OS commands in the context of the debugger process after user interaction with a crafted input.

Affected Products

  • jhen0409 react-native-debugger versions up to and including 0.14.0
  • Component: Open in Editor Handler (electron/window.js)
  • Function: openDevTools

Discovery Timeline

  • 2026-09-24 - CVE-2026-97366 published to the National Vulnerability Database (NVD)
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97366

Vulnerability Analysis

The vulnerability is an OS command injection flaw [CWE-77] in the openDevTools function of electron/window.js. The function processes a host argument that is passed into a shell execution context without sufficient sanitization. An attacker who controls the host value can append shell metacharacters to execute arbitrary commands on the host operating system.

Because react-native-debugger is an Electron application used by developers, successful exploitation runs commands with the privileges of the developer running the debugger. This often grants access to source code, signing keys, and credentials stored on the workstation.

Root Cause

The root cause is the use of untrusted input in a command string without proper escaping or argument separation. The host parameter in the Open in Editor Handler is concatenated into a shell command rather than passed as an isolated argument to a safe process-spawning API. This allows shell interpreter metacharacters such as ;, &&, |, and backticks to break out of the intended command context.

Attack Vector

Exploitation requires user interaction, such as opening or interacting with a crafted project or request that reaches the Open in Editor Handler. The crafted payload supplies a malicious host value that triggers command execution when openDevTools is invoked. See the GitHub Code Snippet referenced by the advisory for exploitation details.

The vulnerability mechanism involves passing an attacker-controlled host string into a shell invocation inside openDevTools. Refer to the VulDB CVE-2026-97366 entry for additional technical references.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-97366

Indicators of Compromise

  • Unexpected child processes spawned by the react-native-debugger Electron process (for example, sh, bash, cmd.exe, or powershell.exe).
  • Outbound network connections initiated by processes parented to the debugger binary.
  • Modified or newly created files in developer workspaces following debugger use.

Detection Strategies

  • Monitor process-creation telemetry for shell interpreters spawned by react-native-debugger.
  • Inspect command-line arguments passed to child processes for shell metacharacters originating from the debugger.
  • Correlate developer workstation activity with suspicious outbound traffic following debugger launch events.

Monitoring Recommendations

  • Enable endpoint process-tree logging on developer workstations and alert on anomalous children of Electron apps.
  • Audit installed versions of react-native-debugger across developer fleets using software inventory tooling.
  • Track references to the openDevTools code path in debugger logs when debug logging is enabled.

How to Mitigate CVE-2026-97366

Immediate Actions Required

  • Inventory all developer workstations running jhen0409 react-native-debugger 0.14.0 or earlier.
  • Restrict use of the debugger to trusted project sources until a patch is available.
  • Isolate developer machines from sensitive production credentials and signing material.

Patch Information

At the time of publication, the vendor had not responded to disclosure attempts and no official patch has been published. Monitor the project repository for updates and track the VulDB Vulnerability #409351 entry for new remediation guidance.

Workarounds

  • Discontinue use of jhen0409 react-native-debugger and migrate to the React Native built-in debugging tools or an alternative maintained debugger.
  • Avoid opening untrusted React Native projects or responding to debugger prompts originating from untrusted sources.
  • Apply application allow-listing on developer endpoints to block invocation of shell interpreters by the debugger process.
bash
# Example: identify installed react-native-debugger versions on macOS/Linux
find / -type d -name "react-native-debugger*" 2>/dev/null
# Example: block the application via policy on managed endpoints
# (adapt to your endpoint management tooling)

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.