React Native Community CLI - Unauthenticated OS Command Injection
| Reporter | Title | Published | Views | Family All 27 |
|---|---|---|---|---|
| Security Bulletin: IBM Cognos Analytics Mobile is affected by multiple security vulnerabilties | 22 May 202622:36 | – | ibm | |
| The vulnerability of the Metro Development Server lies in its lack of measures to neutralize special elements, allowing attackers to execute arbitrary code. | 9 Feb 202600:00 | – | bdu_fstec | |
| Exploit for CVE-2025-11953 | 12 Jan 202609:53 | – | githubexploit | |
| Exploit for CVE-2025-11953 | 4 Nov 202517:57 | – | githubexploit | |
| CVE-2025-11953 | 3 Nov 202518:22 | – | circl | |
| React Native Community CLI OS Command Injection Vulnerability | 5 Feb 202600:00 | – | cisa_kev | |
| CISA Adds Two Known Exploited Vulnerabilities to Catalog | 5 Feb 202612:00 | – | cisa | |
| React Native Community CLI 安全漏洞 | 3 Nov 202500:00 | – | cnnvd | |
| CVE-2025-11953 | 3 Nov 202516:35 | – | cve | |
| CVE-2025-11953 Command injection in React Native Community CLI allows remote attackers to perform remote code execution by sending HTTP requests | 3 Nov 202516:35 | – | cvelist |
10
id: CVE-2025-11953
info:
name: React Native Community CLI - Unauthenticated OS Command Injection
author: aryu-ru
severity: critical
description: |
The Metro development server started by the React Native Community CLI binds to external network interfaces by default and exposes an unauthenticated /open-url endpoint. Affected versions pass the attacker supplied url value straight to the open() helper without validating the scheme, allowing an unauthenticated attacker to launch arbitrary executables on the developer machine. On Windows the request is dispatched through cmd, which permits arbitrary shell commands with fully controlled arguments. The fix was released as a backport across several release lines, so the version number alone does not indicate whether an instance is affected, and this template probes the endpoint behaviour instead.
impact: |
An unauthenticated attacker with network access to the bundler port can execute arbitrary programs on a developer workstation, leading to compromise of the development environment along with any source code and credentials held on it.
remediation: |
Upgrade @react-native-community/cli-server-api to 17.0.1, 18.0.1, 19.1.2 or 20.0.0 and later, whichever is the fixed release for the line in use. Where upgrading is not immediately possible, bind the Metro development server to the loopback interface with --host 127.0.0.1 and block inbound access to the bundler port.
reference:
- https://jfrog.com/blog/cve-2025-11953-critical-react-native-community-cli-vulnerability/
- https://www.vulncheck.com/blog/metro4shell_eitw
- https://github.com/advisories/GHSA-399j-vxmf-hjvr
- https://github.com/react-native-community/cli/commit/15089907d1f1301b22c72d7f68846a2ef20df547
- https://nvd.nist.gov/vuln/detail/CVE-2025-11953
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2025-11953
epss-score: 0.61921
epss-percentile: 0.99094
cwe-id: CWE-78
metadata:
verified: true
max-request: 2
vendor: react-native-community
product: react_native_community_cli
fofa-query: title="React Native" && port="8081"
tags: cve,cve2025,react-native,metro,rce,unauth,intrusive,kev,vkev
flow: http(1) && http(2)
http:
- raw:
- |
GET /status HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "packager-status:running")'
- 'contains(to_lower(header), "x-react-native-project-root")'
condition: and
internal: true
- raw:
- |
POST /open-url HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"url":"nuclei-probe://{{randstr}}"}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'len(body) == 0'
- '!contains(body, "Invalid URL")'
condition: and
# digest: 4a0a00473045022100b303dff29320c2dfe4b9715a7258d83402272f55f454cce6695912bb6e58597c022025abf134014cfaba9ec22ea3444281d0add7ac8692409a84644d7b6a509b3ef1:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
02 Aug 2026 09:33Current
8.4High risk
Vulners AI Score8.4
CVSS 3.19.8
EPSS0.61921
SSVC