Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
@react-native-community/cli-server-api
Default version status: unaffected
4.8.0 to < 20.0.0affected
References
- 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 ↗