Command injection in React Native Community CLI allows remote attackers to perform remote code execution by sending HTTP requests (@react-native-community/cli-server-api)
At a glance
- Source
- NVD
- EPSS
- EPSS 93.98 % · percentile 100 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- JFROG
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-78 — Improper Neutralization of Special Elements used in an OS Command
References
- https://jfrog.com/blog/cve-2025-11953-critical-react-native-community-cli-vulnerability
- https://github.com/react-native-community/cli/commit/15089907d1f1301b22c72d7f68846a2ef20df547
- https://www.vulncheck.com/blog/metro4shell_eitw
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-11953
- https://x.com/SzymonRybczak/status/1986199665000566848
- https://x.com/thymikee/status/1986770875954475375
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | JFROG |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · reefs@jfrog.com (Secondary) |
Advisories
- GHSA-399j-vxmf-hjvr — @react-native-community/cli has arbitrary OS command injection
European references
- ENISA EUVD · EUVD-2025-37505
- GCVE · GCVE-0-2025-11953
CERT-FR advisories
- CERTFR-2026-AVI-0667 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:react-native-community:react_native_community_cli:*:*:*:*:*:*:*:*≥ 19.0.0 < 19.1.2cpe:2.3:a:react-native-community:react_native_community_cli:18.0.0:*:*:*:*:*:*:*cpe:2.3:a:react-native-community:react_native_community_cli:20.0.0:alpha0:*:*:*:*:*:*cpe:2.3:a:react-native-community:react_native_community_cli:20.0.0:alpha1:*:*:*:*:*:*cpe:2.3:a:react-native-community:react_native_community_cli:20.0.0:alpha2:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| @react-native-community/cli-server-api | affected 4.8.0 < 20.0.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| CISA Known Exploited Vulnerabilities | CC0 1.0 |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |