CVE-2025-11953
JSON

9.8criticalExploited

Command injection in React Native Community CLI allows remote attackers to perform remote code execution by sending HTTP requests

Severity
9.8critical CVSS:3.1 by JFROG
Exploit likelihood
72.9% (higher than 100% of CVEs)
Published
Last changed
Assigned by
JFROG
Also known as
GHSA-399j-vxmf-hjvr

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

Product or packageVersionsReported by
@react-native-community/cli-server-apifrom 4.8.0 before 20.0.0CVE List
@react-native-community/cli (npm)from 20.0.0-alpha.0 before 20.0.0, from 19.0.0-alpha.0 before 19.1.2, from 18.0.0 before 18.0.1GitHub Advisory Database
@react-native-community/cli-server-api (npm)from 20.0.0-alpha.0 before 20.0.0, from 19.0.0-alpha.0 before 19.1.2, from 18.0.0 before 18.0.1GitHub Advisory Database
react-native-community react_native_community_clifrom 19.0.0 before 19.1.2, 18.0.0, 20.0.0NVD
React Native Community CLINot specifiedCISA KEV

All scores

JFROG9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-78

SSVC (CISA-ADP): exploitation active, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

El servidor de desarrollo Metro, que es abierto por la CLI de React Native Community, se enlaza a interfaces externas por defecto. El servidor expone un endpoint que es vulnerable a la inyección de comandos del sistema operativo. Esto permite a atacantes de red no autenticados enviar una solicitud POST al servidor y ejecutar ejecutables arbitrarios. En Windows, los atacantes también pueden ejecutar comandos de shell arbitrarios con argumentos totalmente controlados.

CISA KEV

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.

References

https://jfrog.com/blog/cve-2025-11953-critical-react-native-community-cli-vulnerabilityexploit, mitigation, technical-description, third-party-advisory, web
https://github.com/react-native-community/cli/commit/15089907d1f1301b22c72d7f68846a2ef20df547kev, patch, web
https://www.vulncheck.com/blog/metro4shell_eitwexploit, third-party-advisory, web
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-11953government-resource, us-government-resource, web
https://x.com/SzymonRybczak/status/1986199665000566848third-party-advisory, web
https://x.com/thymikee/status/1986770875954475375third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2025-11953advisory, kev
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/5a792169d9883e0b0fb1ddf1ea46778f21510d18web
https://github.com/react-native-community/cli/commit/9e1fa8cc633e5dcf32244ffa60a871880be56722web
https://github.com/react-native-community/cli/commit/a8293dc29425f56249753507bc24d87b698d46e1web

Sources

SourceRecordLicence
CVE ListCVE-2025-11953 changed 2026-02-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-399j-vxmf-hjvr changed 2026-02-05CC-BY-4.0
NVDCVE-2025-11953 changed 2026-11-05Public domain
CISA KEVCVE-2025-11953 changed 2026-02-05CC0-1.0