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
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.8 · Critical · EPSS 94.0% · In KEV · Public exploit · Fix available
- Published
- Updated
Stack: node
Affected products and versions
@react-native-community/cli npm
- Affected ranges
- SEMVER: ≥ 20.0.0-alpha.0, < 20.0.0
Update to 20.0.0
@react-native-community/cli npm
- Affected ranges
- SEMVER: ≥ 19.0.0-alpha.0, < 19.1.2
Update to 19.1.2
@react-native-community/cli npm
- Affected ranges
- SEMVER: ≥ 18.0.0, < 18.0.1
Update to 18.0.1
@react-native-community/cli-server-api npm
- Affected ranges
- SEMVER: ≥ 20.0.0-alpha.0, < 20.0.0
Update to 20.0.0
@react-native-community/cli-server-api npm
- Affected ranges
- SEMVER: ≥ 19.0.0-alpha.0, < 19.1.2
Update to 19.1.2
@react-native-community/cli-server-api npm
- Affected ranges
- SEMVER: ≥ 18.0.0, < 18.0.1
Update to 18.0.1
Original sources
- https://jfrog.com/blog/cve-2025-11953-critical-react-native-community-cli-vulnerability
- https://github.com/react-native-community/cli/commit/15089907d1f1301b22c72d7f68846a2ef20df547
- https://www.vulncheck.com/blog/metro4shell_eitw
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-11953
- https://x.com/SzymonRybczak/status/1986199665000566848
- https://x.com/thymikee/status/1986770875954475375
- https://nvd.nist.gov/vuln/detail/CVE-2025-11953