CVE-2025-11953
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.
Summary dbcve.org
The Metro Development Server in React Native Community CLI binds to external network interfaces by default and contains an OS command injection vulnerability in a POST endpoint. This allows unauthenticated remote attackers to execute arbitrary executables and shell commands (on Windows) without any authentication.
Mitigation
Restrict Metro server to localhost binding only (e.g., using --host localhost or configuring metro.config.js), and implement network access controls to prevent external access to development server ports.