CVE-2025-11953: React Native Community CLI OS Command Injection
React Native Community CLI · listed in the CISA catalog of actively exploited vulnerabilities since 2026-02-05.
- CVSS v3.1 (CVE record)
- 9.8
- critical
- EPSS (exploit probability, 30 days)
- 94%
- higher than 99.8% of all CVEs
- Added to CISA KEV
- 2026-02-05
- US federal due date 2026-02-26
- Automatable (CISA SSVC)
- yes
- technical impact: total
CVE-2025-11953 explained
CVE-2025-11953 is an OS command injection flaw in the Metro Development Server opened by the React Native Community CLI. The server binds to external interfaces by default and exposes a vulnerable endpoint. Unauthenticated network attackers can run arbitrary executables, and CISA lists the flaw as known to be exploited.
Impact
An unauthenticated attacker who can reach the development server over the network can send a POST request and run arbitrary executables on the developer's machine. On Windows, attackers can also execute arbitrary shell commands with fully controlled arguments. No user interaction is needed. CISA rates the flaw as automatable with total technical impact, meaning attackers can exploit it at scale and gain full control of the affected system.
Who is affected
The affected package is @react-native-community/cli-server-api from 4.8.0 up to but not including 20.0.0. Version 20.0.0 contains the fix. The package is part of the React Native Community CLI, which starts the Metro Development Server. Any project or developer workstation that uses an affected version of this package is exposed when the server is running.
Written with AI from the data on this page and checked against it automatically.
Official 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.
CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
CISA notes
- This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: github.com/react-native-community/cli/commit/1508990…
- github.com/react-native-community/cli/pull/2735
- nvd.nist.gov/vuln/detail/CVE-2025-11953
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- @react-native-community/cli-server-apiAffectedFixed in
- ≥ 4.8.0, < 20.0.0
- 20.0.0
| Product | Affected | Fixed in |
|---|---|---|
| @react-native-community/cli-server-api |
|
|
How to fix it
- Update to a fixed version: 20.0.0.
- Vendor advisory: github.com/react-native-community/cli/commit/1508990…
- CISA's deadline for US federal agencies: 2026-02-26 (passed) – a useful benchmark for everyone else, too.
What to do
- Update
@react-native-community/cli-server-apito20.0.0or later in all projects and lockfiles. - Check dependency trees for indirect copies of older versions and rebuild after updating.
- Until updated, do not expose the Metro Development Server to untrusted networks; restrict it to the local machine or use a host firewall.
- Review developer workstations that ran affected versions on shared or public networks for signs of compromise.
- Follow the vendor advisory and CISA's required action to apply mitigations.
Written with AI from the data on this page and checked against it automatically.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- Yes – attackers can automate it at scale
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Questions about CVE-2025-11953
- Is this vulnerability being exploited?
- Yes. CISA added CVE-2025-11953 to its Known Exploited Vulnerabilities catalog on 2026-02-05, with a US federal due date of 2026-02-26. Whether it is used in ransomware campaigns is unknown.
- Which version fixes it?
- Version
20.0.0of@react-native-community/cli-server-apicontains the fix. Versions from4.8.0up to but not including20.0.0are affected. - Why is a development tool exposed to network attacks?
- The Metro Development Server opened by the CLI binds to external interfaces by default, so other machines on the network can reach its vulnerable endpoint without authentication.
Written with AI from the data on this page and checked against it automatically.
References
Vendor
Other advisories
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.