Command Injection Affecting @react-native-community/cli-server-api package, versions >=17.0.0 <17.0.1>=18.0.0 <18.0.1>=19.0.0-alpha.0 <19.1.2>=20.0.0-alpha.0 <20.0.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Attacked
EPSS
11.54% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-REACTNATIVECOMMUNITYCLISERVERAPI-13836141
  • published6 Nov 2025
  • disclosed3 Nov 2025
  • creditOr Peles

Introduced: 3 Nov 2025

CVE-2025-11953  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade @react-native-community/cli-server-api to version 17.0.1, 18.0.1, 19.1.2, 20.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via the url variable processing in openURLMiddleware.ts. An attacker can execute arbitrary system commands by sending crafted HTTP POST requests, if the Metro development server is in use. This server binds to all interfaces, exposing the application to remote connections.

Note: Only applications developed without a Framework are vulnerable, and code execution has only been demonstrated on Windows.

The vulnerable open(url) was introduced in version 17.0.0 with commit 2143752.

CVSS Base Scores

version 4.0
version 3.1