React Native CLI CVE-2025-11953: Metro Dev Server RCE
Attackers are hitting exposed Metro dev servers, mostly to run PowerShell on Windows; upgrade the CLI in every React Native project and make sure no Metro instance on a laptop, VM or CI runner is reachable from an untrusted network.
Must act: React Native teams on community CLI 17 through 20.0.x, especially those running Metro on Windows, cloud dev VMs, remote dev boxes or CI runners with public or shared-network addresses.
Can relax: Projects on CLI 20.1.1 or later whose Metro listens only on localhost, Expo projects (JFrog says not affected), and production apps, which do not ship the dev server.
- Run npm ls @react-native-community/cli-server-api in every React Native repo and on build machines, including global installs (npm ls -g).
- Upgrade to the CLI line that matches your React Native version: 20.1.1 or later where possible, otherwise 19.1.2, 18.0.1 or 17.0.1.
- Start Metro with --host 127.0.0.1 (for example npx react-native start --host 127.0.0.1), and add the flag to package.json scripts.