Junglewise Threat Intelligence

CVE-2026-14802: React create-react-app OS command injection in react-dev-utils

CVE-2026-14802 · Severity: high · CVSS 7.3 · Published 2026-07-06

Executive brief

A vulnerability in a popular tool used by web developers to build React applications could allow an attacker to take control of a developer's computer. The issue occurs when the tool automatically opens a web browser on macOS; if a malicious web address is processed, it can trigger the execution of unauthorized commands. This could lead to the theft of sensitive source code, credentials, or full system compromise of a developer's workstation.

Technical details

An OS command injection vulnerability exists in the `startBrowserProcess` function within `openBrowser.js` of the `react-dev-utils` component (used by `create-react-app`). On macOS, the library uses `child_process.execSync` to execute an AppleScript for opening Chrome. The implementation relies on `encodeURI()` to sanitize the URL, which fails to escape shell-significant characters like ` Junglewise , `(`, and `)`. Because the URL is interpolated into a double-quoted string executed via `/bin/sh`, an attacker can use command substitution (e.g., `$(command)`) to achieve arbitrary code execution. This affects versions up to 5.0.1 (specifically `react-dev-utils` v12.0.1) and currently has no official patch.

Affected products

  • React create-react-app up to 5.0.1
  • React react-dev-utils 12.0.1

Timeline

  • 2026-06-07: disclosed: Issue reported on GitHub repository
  • 2026-07-06: advisory: CVE published to NVD

References