CVE-2025-11953
Command injection in React Native Community CLI allows remote attackers to perform remote code execution by sending HTTP requests
Also known as GHSA-399j-vxmf-hjvr
Mitigation
- Upgrade @react-native-community/cli to one of 20.0.0, 19.1.2, 18.0.1 (or later in the same release line).
- Upgrade @react-native-community/cli-server-api to one of 20.0.0, 19.1.2, 18.0.1 (or later in the same release line).
Who should check
- Projects that depend on npm package @react-native-community/cli (>= 20.0.0-alpha.0, < 20.0.0)
- Projects that depend on npm package @react-native-community/cli-server-api (>= 20.0.0-alpha.0, < 20.0.0)
- Anyone running @react-native-community/cli-server-api >= 4.8.0, < 20.0.0
Vulnerability facts
- Affected
- @react-native-community/cli >= 20.0.0-alpha.0, < 20.0.0; @react-native-community/cli-server-api >= 20.0.0-alpha.0, < 20.0.0
- Fixed in
- 20.0.0, 19.1.2, 18.0.1
- Exploited in the wild
- Yes: in CISA KEV since 2026-02-05; federal due date 2026-02-26
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 72.94% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-78
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @react-native-community/cli | >= 20.0.0-alpha.0, < 20.0.0 | 20.0.0, 19.1.2, 18.0.1 | osv |
| npm @react-native-community/cli-server-api | >= 20.0.0-alpha.0, < 20.0.0 | 20.0.0, 19.1.2, 18.0.1 | osv |
| @react-native-community/cli-server-api | >= 4.8.0, < 20.0.0 | — | cvelist |
Timeline
- 2025-11-03 Published
- 2026-02-05 Added to CISA KEV (exploited in the wild)
- 2026-02-26 CISA remediation due date for US federal agencies
- 2026-11-05 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-11953. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-11953.md Affected: @react-native-community/cli >= 20.0.0-alpha.0, < 20.0.0; @react-native-community/cli-server-api >= 20.0.0-alpha.0, < 20.0.0 Fixed in: 20.0.0, 19.1.2, 18.0.1 Steps: 1. Search this machine and project for @react-native-community/cli (npm), @react-native-community/cli-server-api (npm), @react-native-community/cli-server-api: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/react-native-community/cli/commit/15089907d1f1301b22c72d7f68846a2ef20df547
- 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
Exploits and PoCs
Other
- 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
- https://github.com/react-native-community/cli/issues/2733#issuecomment-3502424164
- 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://x.com/szymonrybczak/status/1986199665000566848?s=46
FAQ
Is CVE-2025-11953 being exploited?
Yes. CISA lists CVE-2025-11953 in its Known Exploited Vulnerabilities catalog since 2026-02-05, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 72.94% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-11953?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-11953?
@react-native-community/cli >= 20.0.0-alpha.0, < 20.0.0; @react-native-community/cli-server-api >= 20.0.0-alpha.0, < 20.0.0.
Is there a fix for CVE-2025-11953?
Yes. Fixed in 20.0.0, 19.1.2, 18.0.1. Upgrade @react-native-community/cli to one of 20.0.0, 19.1.2, 18.0.1 (or later in the same release line). Upgrade @react-native-community/cli-server-api to one of 20.0.0, 19.1.2, 18.0.1 (or later in the same release line).
How do I check if I'm affected by CVE-2025-11953?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.