CVE-2025-11953 — Vulnerability in @react-native-com…server-api
@react-native-community/cli has arbitrary OS command injection
What Should I Do?
Patch Immediately
This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.
Does your project use an affected @react-native-community/cli-server-api version?
Paste your package-lock.json to check it for CVE-2025-11953 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
The Metro Development Server, which is opened by the React Native 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.
Advisory Timeline
- First published November 3, 2025 (388 days ago).
- Last revised February 5, 2026 — 94 days after initial publication.
- Added to CISA's Known Exploited Vulnerabilities catalog 93 days after publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install @react-native-community/cli-server-api@20.0.0
npm install @react-native-community/cli@18.0.1
npm install @react-native-community/cli@19.1.2
npm install @react-native-community/cli-server-api@18.0.1
npm install @react-native-community/cli@20.0.0
npm install @react-native-community/cli-server-api@19.1.2
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: npm (2).
| Package | Fixed In |
|---|---|
| @react-native-community/cli-server-api npm · Affected: All versions | 20.0.0 |
| @react-native-community/cli npm · Affected: All versions | 18.0.1 |
| @react-native-community/cli npm · Affected: All versions | 19.1.2 |
| @react-native-community/cli-server-api npm · Affected: All versions | 18.0.1 |
| @react-native-community/cli npm · Affected: All versions | 20.0.0 |
| @react-native-community/cli-server-api npm · Affected: All versions | 19.1.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-78OS Command InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-11953ADVISORY
- https://github.com/react-native-community/cli/issues/2733#issuecomment-3502424164WEB
- https://github.com/react-native-community/cli/pull/1615WEB
- https://github.com/react-native-community/cli/commit/15089907d1f1301b22c72d7f68846a2ef20df547WEB
- https://github.com/react-native-community/cli/commit/5a792169d9883e0b0fb1ddf1ea46778f21510d18WEB
- https://github.com/react-native-community/cli/commit/9e1fa8cc633e5dcf32244ffa60a871880be56722WEB
- https://github.com/react-native-community/cli/commit/a8293dc29425f56249753507bc24d87b698d46e1WEB
- https://github.com/react-native-community/cliPACKAGE
- https://github.com/react-native-community/cli/releases/tag/v20.0.0WEB
- https://github.com/react-native-community/cli?tab=readme-ov-file#compatibilityWEB
- https://jfrog.com/blog/cve-2025-11953-critical-react-native-community-cli-vulnerabilityWEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-11953WEB
- https://www.vulncheck.com/blog/metro4shell_eitwWEB
- https://x.com/SzymonRybczak/status/1986199665000566848WEB
- https://x.com/szymonrybczak/status/1986199665000566848?s=46WEB
- https://x.com/thymikee/status/1986770875954475375WEB
Frequently Asked Questions
- What is CVE-2025-11953?
- @react-native-community/cli has arbitrary OS command injection. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-11953?
- CVE-2025-11953 affects @react-native-community/cli-server-api and @react-native-community/cli. It has a 72.9% probability of exploitation within 30 days (EPSS score). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-11953 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 99.6% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.
Added to KEV catalog: February 5, 2026
Remediation deadline: February 26, 2026
Also Known As
Related CVEs
- CVE-2026-76807CRITICAL
Todoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server
- CVE-2026-114516CRITICAL
Etherpad: Pre-auth arbitrary file read