Patchfirst
CVE-2025-11953 KEVPublic exploit Critical · 9.8 EPSS 94.0%

React Native Community CLI OS Command Injection Vulnerability

React Native Community · CLI

Summary

The React Native Community CLI's Metro Development Server contains an OS command injection flaw in an exposed endpoint, and the server binds to external interfaces by default. An unauthenticated attacker on the network can send a POST request to that endpoint to run arbitrary executables, and on Windows can also run arbitrary shell commands with fully controlled arguments, with no user interaction or configuration change required.

Official description · NVD

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.

Breakdown
74.8 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 3 months after disclosure. Public exploit code (PoC-in-GitHub) appeared 1 day after disclosure.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+1 day
  3. First seen exploitedVulnCheck KEV evidence+3 mo
  4. Added to CISA KEVEU database agrees+3 mo

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

Unauthenticated network POST to exposed server

exposes an endpoint that is vulnerable to OS command injection
From the official description (NVD) Original (opens in a new tab) ↗

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

Arbitrary executable execution via command injection

allows unauthenticated network attackers to send a POST request to the server and run arbitrary executables
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 244 general rules for its techniques

Rules for this CVE

0 that reference CVE-2025-11953 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

2 packages in 1 ecosystem. Main package: @react-native-community/cli.

npm@react-native-community/cliGHSA-399j-vxmf-hjvr

Upgrade to 20.0.0 or later

npmnpm install @react-native-community/cli@20.0.0

The first fix for CVE-2025-11953. No other CVE tracked by Patchfirst affects this package.

Affected versions, by release line

If you runUpgrade to
20.0.0-alpha.0 up to 20.0.020.0.0
19.0.0-alpha.0 up to 19.1.219.1.2
18.0.0 up to 18.0.118.0.1

“Up to” means the second version is the fix and is not affected.

Other packages that bundle this code (1)

Forks, repackagings and products that include the affected code. Each has its own fixed version.

  • npm@react-native-community/cli-server-api
    Affected: 20.0.0-alpha.0 up to 20.0.0; 19.0.0-alpha.0 up to 19.1.2; 18.0.0 up to 18.0.1Upgrade to 20.0.0 or later (older lines: 19.1.2, 18.0.1)

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

6 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close