Critical9.8

CVE-2025-11953: React Native Community CLI OS Command Injection Vulnerability

React Native Community CLI contains an OS command injection vulnerability which could allow unauthenticated network attackers to send POST requests to the Metro Development Server and run arbitrary executables via a vulnerable endpoint exposed by the server. On Windows, attackers can also execute arbitrary shell commands with fully controlled arguments.

Added to the CISA KEV catalog: February 5, 2026

Overview

An OS command injection flaw in the React Native Community CLI lets an unauthenticated attacker run programs on a developer's machine with a single POST request to the Metro development server. Metro binds to external interfaces by default, so any host that can reach its port can hit the vulnerable /open-url endpoint. Windows hosts allow full shell commands with controlled arguments, while macOS and Linux are more limited. Projects that start Metro through the CLI are affected.

Vulnerability details

Affected vendor

React Native Community

Affected product

CLI

Weakness type (CWE)

CWE-78

The /open-url endpoint in the CLI's server API package reads a url value from a JSON POST body and passes it to the open() function from the open NPM package. That function hands the value to the operating system to launch, and nothing neutralizes it first, which is the standard CWE-78 pattern. The endpoint requires no authentication, and Metro listens on external interfaces unless the host is set to localhost. JFrog reports that releases before 17.0.0 can only run executables already on disk, without arguments, while later releases allow full argument control. PR discussion shows the first upstream sanitization fix was incomplete and was reworked.


An attacker sends a crafted POST to /open-url with a malicious url value. On Windows this yields arbitrary shell commands with fully controlled arguments. On macOS and Linux it yields execution of arbitrary executables with limited parameter control, and JFrog says full command execution there is not proven. VulnCheck observed exploitation in the wild, using cmd /c with a base64-encoded PowerShell multi-stage loader. Preconditions: a vulnerable version, Metro actually running (for example via npm start), and network reachability to its port. Frameworks that do not use Metro are typically not affected.

Severity and impact

9.8

Critical

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

Attack vector

Network

Attack complexity

Low

Privileges required

None

User interaction

None

Scope

Unchanged

Confidentiality impact

High

Integrity impact

High

Availability impact

High

Exploitation status

This vulnerability is confirmed as actively exploited in the wild — it is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

Known ransomware campaign use

Unknown

Detection and monitoring

  • Review HTTP, proxy, or IDS logs for POST requests to /open-url on the Metro port from sources other than the local machine or known test devices, especially bodies whose url value contains cmd /c, powershell, or -EncodedCommand.
  • Alert on process telemetry where node.exe running Metro spawns cmd.exe or powershell.exe with an encoded command, particularly followed by a new executable in the temp directory or an outbound connection to an unfamiliar host.

Remediation

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Federal (FCEB) remediation due date

February 26, 2026

Additional hardening

  • Upgrade @react-native-community/cli-server-api to 20.0.0 or later per JFrog. The structured record lists 19.1.2 for the 19.x line, and the upstream fix was reworked later, so check the References for the current release.
  • Bind Metro to loopback by setting the host option to 127.0.0.1 when running react-native start or the community CLI start command, so the server is unreachable from other machines even before patching.
  • Block inbound access to the Metro port at host firewalls and network segments, and never run Metro on internet-facing or shared build hosts. Restrict device testing to a trusted development VLAN.
  • If a Metro instance was reachable by untrusted hosts, review process history for the shell and PowerShell patterns above and rotate secrets and tokens present in that machine's environment variables and project files.

Key dates

Published (NVD)

November 3, 2025

Added to CISA KEV

February 5, 2026

Remediation deadline

February 26, 2026

Last updated

November 5, 2026

Frequently Asked Questions

If React Native Community CLI runs inside your authorization boundary, CVE-2025-11953 affects your FedRAMP authorization. CISA lists it in the Known Exploited Vulnerabilities (KEV) catalog, and the remediation deadline of February 26, 2026 has already passed. An unpatched KEV inside a boundary is an assessor finding, and an overdue one is already visible to your assessor and sponsoring agency. Remediate it now, or formally document the mitigation and the reason for the delay.

Knox does not patch your software. Under the FedRAMP shared responsibility model, remediating React Native Community CLI stays with you. Knox supplies the pre-authorized, single-tenant boundary where you apply the fix, plus continuous compliance monitoring and audit-artifact coverage that support documenting the remediation for your next assessment. The fix is yours to apply, but you do not carry compliance upkeep alone while you apply it.

Knox's automated continuous monitoring platform watches your environment in real time for newly disclosed vulnerabilities and compliance issues, so a case like CVE-2025-11953 surfaces during ongoing monitoring instead of waiting for an assessor to flag it at review time.

Knox runs a FedRAMP-as-a-Service platform. It gives SaaS vendors a pre-authorized cloud boundary on AWS, Azure, and GCP. Your application inherits 60-80% of the required security controls. You reach FedRAMP authorization in about 90 days for roughly 90% less than the traditional $3.5M path. Book a meeting and Knox will map your path to authorization.

Because the February 26, 2026 deadline has passed, an unremediated CVE-2025-11953 is already a POA&M item. A growing POA&M list turns a routine continuous-monitoring review into a difficult conversation with your agency. Closing the item out and documenting why the deadline slipped keeps your authorization clean and the agency relationship intact.

Access Continuous Compliance

We never compromise on security. Meet with our team to discuss scope, readiness, and map your company’s accelerated path to government certification.

Please see our Privacy Policy for details on how we will handle this information.

Submit
Submit