Critical Remote Code Execution Vulnerability in React Native CLI
Vulnerability Disclosure · 6 sources · Updated 5mo ago · First seen Nov 4, 2025

A critical vulnerability, tracked as CVE-2025-11953, was discovered in the @react-native-community/cli npm package, which is widely used for developing React Native mobile applications. The flaw, rated with a CVSS score of 9.8, allows unauthenticated remote attackers to execute arbitrary operating system commands on machines running the React Native CLI's development server. The vulnerability stems from the Metro development server binding to external interfaces by default and exposing an /open-url endpoint that is susceptible to OS command injection. Attackers can exploit this by sending specially crafted POST requests, leading to remote code execution. On Windows systems, attackers can execute arbitrary shell commands with full argument control, while on Linux and macOS, arbitrary binaries can be executed with limited parameter control.
The issue affects versions 4.8.0 through 20.0.0-alpha.2 of the @react-native-community/cli-server-api package and has been patched in version 20.0.0. The vulnerability posed a significant risk to millions of developers, as the package receives up to 2 million downloads per week. The flaw has since been addressed, but organizations using affected versions are urged to update immediately to mitigate the risk of exploitation. The vulnerability was reported by JFrog researchers and publicly disclosed in early November 2025.
Why it matters
Impact assessment
CVE-2025-11953 is a critical developer-environment RCE affecting organizations that use React Native tooling, especially engineering teams running exposed Metro development servers on workstations or shared development hosts. The impact is severe because unauthenticated attackers can execute OS commands on developer machines, creating risk of source code tampering, credential theft, malicious build injection, and lateral movement into internal networks.
The exposure is potentially broad due to the popularity of the affected npm package and insecure default network binding behavior, but practical exploitation depends on attacker reachability to the Metro server. The provided references do not report confirmed in-the-wild exploitation, but the vulnerability is remotely reachable and trivial enough to warrant urgent remediation.
Affected populations
- Organizations developing mobile applications with React Native
- Developer workstations running Metro development servers
- CI/dev environments or shared hosts where React Native CLI is exposed beyond localhost
- Windows users face the highest exploitation impact; Linux and macOS are also affected
Severity and business risk
- Unauthenticated remote code execution on developer systems
- Potential source code corruption or malicious payload insertion into app builds
- Possible theft of developer credentials, tokens, and local secrets
- Risk of broader internal network access from compromised developer endpoints
- Reputational and supply-chain risk if compromised builds are distributed
Scope and exploitation status
- Affected package reportedly receives about 2 million downloads per week
- Exposure is widespread across users of vulnerable versions, but only externally reachable Metro servers are directly exploitable
- No explicit public reporting of active exploitation in the wild was included in the references
Structured facts extracted from references
- CVE: CVE-2025-11953
- Severity: CVSS 9.8
- Affected entities: @react-native-community/cli, @react-native-community/cli-server-api, Metro development server, JFrog, Meta Platforms Inc.
- User populations: React Native developers, especially Windows users
- Risk outcomes: arbitrary command execution, code tampering, malicious build injection, broader network access


