OS command injection in @react-native-community/cli-server-api
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Active
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | @react-native-community/cli-server-api | 4.8.0 to before 20.0.0 | 20.0.0 | Patch available | CNA |
| — | @react-native-community/cli (npm) | 20.0.0-alpha.0 to before 20.0.0 | 20.0.0 | Patch available | GHSA-399j-vxmf-hjvr |
| — | @react-native-community/cli (npm) | 19.0.0-alpha.0 to before 19.1.2 | 19.1.2 | Patch available | GHSA-399j-vxmf-hjvr |
| — | @react-native-community/cli (npm) | 18.0.0 to before 18.0.1 | 18.0.1 | Patch available | GHSA-399j-vxmf-hjvr |
| — | @react-native-community/cli-server-api (npm) | 20.0.0-alpha.0 to before 20.0.0 | 20.0.0 | Patch available | GHSA-399j-vxmf-hjvr |
| — | @react-native-community/cli-server-api (npm) | 19.0.0-alpha.0 to before 19.1.2 | 19.1.2 | Patch available | GHSA-399j-vxmf-hjvr |
| — | @react-native-community/cli-server-api (npm) | 18.0.0 to before 18.0.1 | 18.0.1 | Patch available | GHSA-399j-vxmf-hjvr |
- @react-native-community/cli-server-api Vendor— Affected 4.8.0 to before 20.0.0 Fixed in 20.0.0 Patch available CNA
- @react-native-community/cli (npm) Vendor— Affected 20.0.0-alpha.0 to before 20.0.0 Fixed in 20.0.0 Patch available GHSA-399j-vxmf-hjvr
- @react-native-community/cli (npm) Vendor— Affected 19.0.0-alpha.0 to before 19.1.2 Fixed in 19.1.2 Patch available GHSA-399j-vxmf-hjvr
- @react-native-community/cli (npm) Vendor— Affected 18.0.0 to before 18.0.1 Fixed in 18.0.1 Patch available GHSA-399j-vxmf-hjvr
- @react-native-community/cli-server-api (npm) Vendor— Affected 20.0.0-alpha.0 to before 20.0.0 Fixed in 20.0.0 Patch available GHSA-399j-vxmf-hjvr
- @react-native-community/cli-server-api (npm) Vendor— Affected 19.0.0-alpha.0 to before 19.1.2 Fixed in 19.1.2 Patch available GHSA-399j-vxmf-hjvr
- @react-native-community/cli-server-api (npm) Vendor— Affected 18.0.0 to before 18.0.1 Fixed in 18.0.1 Patch available GHSA-399j-vxmf-hjvr
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:react-native-community:react_native_community_cli:*:*:*:*:*:*:*:* | 19.0.0 to before 19.1.2 | Vulnerable | React Native Community |
| cpe:2.3:a:react-native-community:react_native_community_cli:18.0.0:*:*:*:*:*:*:* | 18.0.0 | Vulnerable | React Native Community |
| cpe:2.3:a:react-native-community:react_native_community_cli:20.0.0:alpha0:*:*:*:*:*:* | 20.0.0 alpha0 | Vulnerable | React Native Community |
| cpe:2.3:a:react-native-community:react_native_community_cli:20.0.0:alpha1:*:*:*:*:*:* | 20.0.0 alpha1 | Vulnerable | React Native Community |
| cpe:2.3:a:react-native-community:react_native_community_cli:20.0.0:alpha2:*:*:*:*:*:* | 20.0.0 alpha2 | Vulnerable | React Native Community |
- cpe:2.3:a:react-native-community:react_native_community_cli:*:*:*:*:*:*:*:* Versions 19.0.0 to before 19.1.2 Vulnerable ·React Native Community
- cpe:2.3:a:react-native-community:react_native_community_cli:18.0.0:*:*:*:*:*:*:* Versions 18.0.0 Vulnerable ·React Native Community
- cpe:2.3:a:react-native-community:react_native_community_cli:20.0.0:alpha0:*:*:*:*:*:* Versions 20.0.0 alpha0 Vulnerable ·React Native Community
- cpe:2.3:a:react-native-community:react_native_community_cli:20.0.0:alpha1:*:*:*:*:*:* Versions 20.0.0 alpha1 Vulnerable ·React Native Community
- cpe:2.3:a:react-native-community:react_native_community_cli:20.0.0:alpha2:*:*:*:*:*:* Versions 20.0.0 alpha2 Vulnerable ·React Native Community
Remediation
- Fix · CNA @react-native-community/cli-server-api Fixed in 20.0.0
- Fix · GHSA-399j-vxmf-hjvr @react-native-community/cli (npm) Fixed in 20.0.0 Advisory →
- Fix · GHSA-399j-vxmf-hjvr @react-native-community/cli (npm) Fixed in 19.1.2 Advisory →
- Fix · GHSA-399j-vxmf-hjvr @react-native-community/cli (npm) Fixed in 18.0.1 Advisory →
- Fix · GHSA-399j-vxmf-hjvr @react-native-community/cli-server-api (npm) Fixed in 20.0.0 Advisory →
- Fix · GHSA-399j-vxmf-hjvr @react-native-community/cli-server-api (npm) Fixed in 19.1.2 Advisory →
- Fix · GHSA-399j-vxmf-hjvr @react-native-community/cli-server-api (npm) Fixed in 18.0.1 Advisory →
Vendor assessments
Timeline
- 2026-02-05 Added to CISA KEV
- 2026-10-02 Threatist record created from CVE-2025-11953
- 2026-10-03 Alias added: GHSA-399j-vxmf-hjvr
References
Patch 1
Advisory 3
Other 10
- https://github.com/react-native-community/cli/issues/2733#issuecomment-3502424164
- https://github.com/react-native-community/cli/pull/1615
- https://github.com/react-native-community/cli/commit/5a792169d9883e0b0fb1ddf1ea46778f21510d18
- https://github.com/react-native-community/cli/commit/9e1fa8cc633e5dcf32244ffa60a871880be56722
- https://github.com/react-native-community/cli/commit/a8293dc29425f56249753507bc24d87b698d46e1
- https://github.com/react-native-community/cli
- https://github.com/react-native-community/cli/releases/tag/v20.0.0
- https://github.com/react-native-community/cli?tab=readme-ov-file#compatibility
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-11953
- https://x.com/szymonrybczak/status/1986199665000566848?s=46
Sources
- CVE-2025-11953 · CVE Program
- CVE-2025-11953 · NVD
- CISA Known Exploited Vulnerabilities
- FIRST EPSS
- GHSA-399j-vxmf-hjvr · GitHub Advisory Database · CC BY 4.0
- CVE-2025-11953 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences