Live threats

All CVEs / React Native Community

CVE-2025-11953React Native Community CLI

OS Command Injection in React Native Community CLI

Critical 9.8 KEV No auth neededHigh EPSS

Priority
81
CVSS 3.1
9.8
EPSS
72.9%
probability of exploitation in 30 days · percentile 100
Auth required
No
In KEV since
Feb 5, 2026
CISA deadline
Feb 26, 2026
Ransomware use
Unknown
Published
Nov 3, 2025
Updated
Nov 5, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: active · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

React Native Community CLI's Metro Development Server binds to external interfaces by default and exposes an endpoint vulnerable to OS command injection. Unauthenticated network attackers can send POST requests to execute arbitrary executables, or shell commands on Windows with fully controlled arguments. CISA confirmed this vulnerability is actively exploited.

Show the original NVD text

The Metro Development Server, which is opened by the React Native Community CLI, binds to external interfaces by default. The server exposes an endpoint that is vulnerable to OS command injection. This allows unauthenticated network attackers to send a POST request to the server and run arbitrary executables. On Windows, the attackers can also execute arbitrary shell commands with fully controlled arguments.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

React Native Community CLI contains an OS command injection vulnerability which could allow unauthenticated network attackers to send POST requests to the Metro Development Server and run arbitrary executables via a vulnerable endpoint exposed by the server. On Windows, attackers can also execute arbitrary shell commands with fully controlled arguments.

Action required by CISA: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 18.0.1, 19.1.2, 20.0.0

Update @react-native-community/cli and @react-native-community/cli-server-api to versions 18.0.1, 19.1.2, or 20.0.0 depending on your version branch.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for CLI.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was February 26, 2026.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @react-native-community/cli ≥ 20.0.0-alpha.0 < 20.0.0 20.0.0 npm install @react-native-community/cli@20.0.0
npm @react-native-community/cli ≥ 19.0.0-alpha.0 < 19.1.2 19.1.2 npm install @react-native-community/cli@19.1.2
npm @react-native-community/cli ≥ 18.0.0 < 18.0.1 18.0.1 npm install @react-native-community/cli@18.0.1
npm @react-native-community/cli-server-api ≥ 20.0.0-alpha.0 < 20.0.0 20.0.0 npm install @react-native-community/cli-server-api@20.0.0
npm @react-native-community/cli-server-api ≥ 19.0.0-alpha.0 < 19.1.2 19.1.2 npm install @react-native-community/cli-server-api@19.1.2
npm @react-native-community/cli-server-api ≥ 18.0.0 < 18.0.1 18.0.1 npm install @react-native-community/cli-server-api@18.0.1

Per OSV / GitHub Advisories (GHSA-399j-vxmf-hjvr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
react-native-communityreact_native_community_cli≥ 19.0.0 < 19.1.2
react-native-communityreact_native_community_cli18.0.0
react-native-communityreact_native_community_cli20.0.0
react-native-communityreact_native_community_cli20.0.0
react-native-communityreact_native_community_cli20.0.0

Official sources

References

Links published by the sources. Open them with care.