CVE-2025-11953: Metro4Shell
- Vendor
- React-Native-Community
Metro4Shell is a critical OS command injection vulnerability in the React Native Community CLI and its cli-server-api middleware used by the Metro Development Server. The unauthenticated URL-opening POST handler passes attacker-controlled input to the open() function without adequate URL protocol validation. Because Metro binds to external interfaces by default, network-reachable instances can expose this behavior to remote attackers. Successful exploitation permits arbitrary executable launching on Windows, Linux, and macOS; on Windows, attackers can additionally execute arbitrary shell commands with fully controlled arguments. Execution occurs with the privileges of the user running Metro. The vulnerability affects development infrastructure rather than production React Native applications directly and has been exploited in the wild.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the confidentiality, integrity, and availability of affected developer workstations, CI runners, and development or test hosts through code execution as the Metro process user. Accessible source code, development credentials, and build resources may consequently be exposed or modified. Observed exploitation has delivered Rust-based malware, including P2Pinfect, and used PowerShell loaders that weaken Microsoft Defender protections before retrieving and executing payloads. The vulnerability does not itself establish privilege escalation beyond the Metro user's permissions.
Mitigation
If you can’t patch tonight, do this now.
Bind Metro explicitly to the loopback interface and block untrusted inbound access to its listening port with host firewalls and network segmentation. Avoid internet exposure of development servers and stop unnecessary Metro instances. Monitor URL-opening POST requests and unexpected child processes originating from Metro, especially encoded PowerShell execution and changes to Microsoft Defender exclusions. Investigate previously exposed systems for compromise; restricting access or patching does not remove malware already installed.
Remediation
Patch, then assume compromise.
Upgrade @react-native-community/cli and @react-native-community/cli-server-api to fixed releases appropriate to the deployed branch: 18.0.1, 19.1.2, or 20.0.0 and later maintained releases. Fixes were also backported to the 17.x branch, but an exact fixed 17.x version is not established here. Verify the effective middleware version in project dependencies, nested dependencies, and global CLI installations rather than relying solely on the top-level CLI version. Restart affected development servers after updating. Patched URL-opening handlers reject unsupported URL protocols.
Exploits
5 exploits validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-11953 exploited in the wild?
- Yes. As of Nov 2, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Feb 5, 2026.
- Is there a public exploit for CVE-2025-11953?
- Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2025-11953, the earliest disclosed Nov 4, 2025.
- Is there a patch for CVE-2025-11953?
- Upgrade @react-native-community/cli and @react-native-community/cli-server-api to fixed releases appropriate to the deployed branch: 18.0.1, 19.1.2, or 20.0.0 and later maintained releases. Fixes were also backported to the 17.x branch, but an exact fixed 17.x version is not established here.
- What products are affected by CVE-2025-11953?
- React-Native-Community React Native Community Cli.
- How severe is CVE-2025-11953?
- CVE-2025-11953 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 72.9% (100th percentile) as of Nov 2, 2026.
Recent activity
123 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.