GHSA-399J-VXMF-HJVR
Vulnerability from github – Published: 2025-11-03 18:31 – Updated: 2025-11-13 16:25
VLAI?
Summary
@react-native-community/cli has arbitrary OS command injection
Details
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.
Severity ?
9.8 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "@react-native-community/cli"
},
"ranges": [
{
"events": [
{
"introduced": "20.0.0-alpha.0"
},
{
"fixed": "20.0.0"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "@react-native-community/cli"
},
"ranges": [
{
"events": [
{
"introduced": "19.0.0-alpha.0"
},
{
"fixed": "19.1.2"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "@react-native-community/cli"
},
"ranges": [
{
"events": [
{
"introduced": "18.0.0"
},
{
"fixed": "18.0.1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "@react-native-community/cli-server-api"
},
"ranges": [
{
"events": [
{
"introduced": "20.0.0-alpha.0"
},
{
"fixed": "20.0.0"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "@react-native-community/cli-server-api"
},
"ranges": [
{
"events": [
{
"introduced": "19.0.0-alpha.0"
},
{
"fixed": "19.1.2"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "@react-native-community/cli-server-api"
},
"ranges": [
{
"events": [
{
"introduced": "18.0.0"
},
{
"fixed": "18.0.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2025-11953"
],
"database_specific": {
"cwe_ids": [
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2025-11-06T17:28:29Z",
"nvd_published_at": "2025-11-03T17:15:32Z",
"severity": "CRITICAL"
},
"details": "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.",
"id": "GHSA-399j-vxmf-hjvr",
"modified": "2025-11-13T16:25:24Z",
"published": "2025-11-03T18:31:52Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-11953"
},
{
"type": "WEB",
"url": "https://github.com/react-native-community/cli/issues/2733#issuecomment-3502424164"
},
{
"type": "WEB",
"url": "https://github.com/react-native-community/cli/pull/1615"
},
{
"type": "WEB",
"url": "https://github.com/react-native-community/cli/commit/15089907d1f1301b22c72d7f68846a2ef20df547"
},
{
"type": "WEB",
"url": "https://github.com/react-native-community/cli/commit/5a792169d9883e0b0fb1ddf1ea46778f21510d18"
},
{
"type": "WEB",
"url": "https://github.com/react-native-community/cli/commit/9e1fa8cc633e5dcf32244ffa60a871880be56722"
},
{
"type": "WEB",
"url": "https://github.com/react-native-community/cli/commit/a8293dc29425f56249753507bc24d87b698d46e1"
},
{
"type": "PACKAGE",
"url": "https://github.com/react-native-community/cli"
},
{
"type": "WEB",
"url": "https://github.com/react-native-community/cli/releases/tag/v20.0.0"
},
{
"type": "WEB",
"url": "https://github.com/react-native-community/cli?tab=readme-ov-file#compatibility"
},
{
"type": "WEB",
"url": "https://jfrog.com/blog/cve-2025-11953-critical-react-native-community-cli-vulnerability"
},
{
"type": "WEB",
"url": "https://x.com/SzymonRybczak/status/1986199665000566848"
},
{
"type": "WEB",
"url": "https://x.com/szymonrybczak/status/1986199665000566848?s=46"
},
{
"type": "WEB",
"url": "https://x.com/thymikee/status/1986770875954475375"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "@react-native-community/cli has arbitrary OS command injection"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…