Skip to main content

CVE-2025-11953 — Vulnerability in @react-native-com…server-api

CRITICAL
Actively Exploited

@react-native-community/cli has arbitrary OS command injection

Published November 3, 2025Updated February 5, 2026Source: OSV

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.

Check my package-lock.json

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
Update @react-native-community/cli-server-api to 20.0.0 or later
npm install @react-native-community/cli-server-api@20.0.0
npm
Update @react-native-community/cli to 18.0.1 or later
npm install @react-native-community/cli@18.0.1
npm
Update @react-native-community/cli to 19.1.2 or later
npm install @react-native-community/cli@19.1.2
npm
Update @react-native-community/cli-server-api to 18.0.1 or later
npm install @react-native-community/cli-server-api@18.0.1
npm
Update @react-native-community/cli to 20.0.0 or later
npm install @react-native-community/cli@20.0.0
npm
Update @react-native-community/cli-server-api to 19.1.2 or later
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).

PackageFixed In
@react-native-community/cli-server-api npm · Affected: All versions20.0.0
@react-native-community/cli npm · Affected: All versions18.0.1
@react-native-community/cli npm · Affected: All versions19.1.2
@react-native-community/cli-server-api npm · Affected: All versions18.0.1
@react-native-community/cli npm · Affected: All versions20.0.0
@react-native-community/cli-server-api npm · Affected: All versions19.1.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-78
    OS Command InjectionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
72.94%
EPSS percentile: 99.6

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.

Known Exploited Vulnerability

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

GHSA-399j-vxmf-hjvr

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json