# CVE-2025-11953: Command injection in React Native Community CLI allows remote attackers to perform remote code execution by sending HTTP requests

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Yes: in CISA KEV since 2026-02-05; federal due date 2026-02-26
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 72.94% (percentile 100, 2026-11-26)
- **CWE:** CWE-78
- **Aliases:** GHSA-399j-vxmf-hjvr
- **Published:** 2025-11-03T16:35:07.168Z
- **Modified:** 2026-11-05T22:10:00.203Z

## 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

## 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

- npm `@react-native-community/cli`: affected \>= 20.0.0-alpha.0, \< 20.0.0; fixed 20.0.0, 19.1.2, 18.0.1 (osv)
- npm `@react-native-community/cli-server-api`: affected \>= 20.0.0-alpha.0, \< 20.0.0; fixed 20.0.0, 19.1.2, 18.0.1 (osv)
- @react-native-community/cli-server-api: \>= 4.8.0, \< 20.0.0 (cvelist)

## 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).

## 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 a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-11953>
- patch: <https://github.com/react-native-community/cli/commit/15089907d1f1301b22c72d7f68846a2ef20df547>
- patch: <https://github.com/react-native-community/cli/pull/1615>
- patch: <https://github.com/react-native-community/cli/commit/5a792169d9883e0b0fb1ddf1ea46778f21510d18>
- patch: <https://github.com/react-native-community/cli/commit/9e1fa8cc633e5dcf32244ffa60a871880be56722>
- patch: <https://github.com/react-native-community/cli/commit/a8293dc29425f56249753507bc24d87b698d46e1>
- exploit: <https://www.vulncheck.com/blog/metro4shell_eitw>
- article: <https://jfrog.com/blog/cve-2025-11953-critical-react-native-community-cli-vulnerability>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-11953>
- other: <https://x.com/SzymonRybczak/status/1986199665000566848>
- other: <https://x.com/thymikee/status/1986770875954475375>
- other: <https://github.com/react-native-community/cli/issues/2733#issuecomment-3502424164>
- other: <https://github.com/react-native-community/cli>
- other: <https://github.com/react-native-community/cli/releases/tag/v20.0.0>
- other: <https://github.com/react-native-community/cli?tab=readme-ov-file#compatibility>
- other: <https://x.com/szymonrybczak/status/1986199665000566848?s=46>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-11953>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-399j-vxmf-hjvr> (license: <https://creativecommons.org/licenses/by/4.0/>)
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2025-11953> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-11953>
