CVE-2025-11953
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Metro Development Server in React Native Community CLI binds to external interfaces by default and contains an OS command injection vulnerability in a POST endpoint. Unauthenticated network attackers can execute arbitrary executables and shell commands with fully controlled arguments.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 19.0.0, < 19.1.2= 18.0.0= 20.0.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- 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
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed React Native CLI versionRun 'npx react-native --version' or check package.json dependencies for '@react-native-community/cli'Affected if The version matches >= 19.0.0 and < 19.1.2, equals 18.0.0, or equals 20.0.0
-
Check Metro server binding configurationExamine your Metro configuration file (metro.config.js) for the 'server' section and look for the 'host' setting, or inspect runtime startup logs for the --host parameter used when starting MetroAffected if The server binds to '0.0.0.0' or an external IP address rather than 'localhost' or '127.0.0.1'
-
Verify network exposure of Metro serverWhen Metro is running, check which interfaces it is listening on using 'netstat -an' or 'ss -tlnp' and look for port 8081 (default Metro port) bound to non-localhost addressesAffected if Port 8081 (or your configured Metro port) is listening on 0.0.0.0 or an external IP rather than only 127.0.0.1
-
Confirm CLI project configurationLocate the package.json in your React Native project and verify the exact version of '@react-native-community/cli' and '@react-native-community/cli-platform-ios/android' dependencies listedAffected if Any of these packages are at versions matching the affected range
You are affected if your React Native Community CLI version falls within the vulnerable ranges AND your Metro server is configured to bind to all network interfaces rather than localhost only.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped19.1.2
Restrict Metro server binding to localhost (127.0.0.1) only, use firewall rules to block external access to the server port, or disable the development server when not actively debugging.
React Native Community CLI 19.1.2+ (or 20.0.1+ for 20.x branch)
- Upgrade React Native Community CLI to version 19.1.2 or later for the 19.x branch
- For version 18.0.0, upgrade to 19.1.2 or later (or to the latest 18.x stable if available)
- For version 20.0.0, upgrade to 20.0.1 or later
- After upgrading, verify the Metro server no longer binds to 0.0.0.0 by default; it should bind to localhost (127.0.0.1)
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation2.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,304.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-11953 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-11953 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data