CVE-2025-11953
CVE-2025-11953
Command injection in React Native Community CLI allows remote attackers to perform remote code execution by sending HTTP requests
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
CVSS 3.1 · CNA
chance of exploitation in the next 30 days (EPSS; in the top 1% of all CVEs)
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.
Scores
Affected packages and fixed versions
| Package | Ecosystem | Fixed in |
|---|---|---|
| @react-native-community/cli | npm | 20.0.0, 19.1.2, 18.0.1 |
| @react-native-community/cli-server-api | npm | 20.0.0, 19.1.2, 18.0.1 |
Affected products
- @react-native-community/cli-server-api: 4.8.0 to < 20.0.0
Weakness: CWE-78
Also known as: GHSA-399j-vxmf-hjvr
2 references (advisories, patches, write-ups)
Sources: CVE.org, OSV.dev, FIRST EPSS. Missing ones did not answer or have no record yet.