Critical OS Command Injection Flaw Found in React Native CLI

Critical Command Injection Vulnerability Discovered and Patched in @react-native-community/cli Affecting Metro Development Server

  • A critical security flaw in the @react-native-community/cli npm package has been identified and fixed.
  • The flaw allowed remote attackers to execute operating system commands without authentication.
  • This vulnerability, CVE-2025-11953, has a severity score of 9.8 out of 10.
  • Affected versions ranged from 4.8.0 to 20.0.0-alpha.2, patched in version 20.0.0.
  • The issue involved the Metro development server exposing an endpoint vulnerable to command injection.

A critical security weakness was discovered and patched in the popular @react-native-community/cli package, which supports developers building React Native mobile apps. The vulnerability could let unauthenticated attackers execute harmful operating system commands on machines running the development server. The details were reported on November 4, 2025.

- Advertisement -

According to JFrog Senior Security Researcher Or Peles, the flaw is tracked as CVE-2025-11953 and carries a critical CVSS score of 9.8 out of 10. It affected the command-line interface versions 4.8.0 through 20.0.0-alpha.2 and was fixed in release 20.0.0.

The exposed vulnerability stemmed from the Metro development server binding to external network interfaces by default rather than just localhost. This server exposes an “/open-url” endpoint that accepts POST requests. The user input sent to this endpoint is passed unsafely to a function from the open NPM package, allowing attackers to run arbitrary OS commands.

Peles explained, “The server’s ‘/open-url’ endpoint handles a POST request that includes a user-input value that is passed to the unsafe open() function provided by the open NPM package, which will cause OS command execution.” On Windows systems, this permits executing shell commands with full argument control. On Linux and macOS, attackers can run arbitrary binaries with some parameter restrictions.

The package is maintained by Meta and downloads range between 1.5 million and 2 million weekly. Developers using React Native with frameworks that do not rely on the Metro server are not affected. As Peles noted, “This zero day vulnerability is particularly dangerous due to its ease of exploitation, lack of authentication requirements and broad attack surface.” The issue highlights risks in third-party components and underscores the importance of automated security testing in software supply chains.

- Advertisement -

✅ Follow BITNEWSBOT on Telegram, Facebook, LinkedIn, X.com, and Google News for instant updates.

Previous Articles:

- Advertisement -

Latest News

Vitalik: Web3 ‘decentralized renaissance’ finally arrives…

Vitalik Buterin says the original web3 vision is becoming a practical reality.He highlighted three...

95% Win-Rate Bitcoin Whale Opens $96.0M 3x Long, Accumulates

A single large wallet opened a nearly $95.8 million 3x leveraged long in Bitcoin.The...

KBC to Offer Bitcoin and Ether Trading to Belgian Retail Feb

KBC will let retail customers buy and sell Bitcoin and Ether via its Bolero...

UAT-8837: China-linked uses Sitecore zero-day to target CNI.

Cisco Talos links a China-aligned actor, tracked as UAT-8837, to intrusions against North American...

Gold Could Soar to $8,000 by 2026 Amid Central-Bank Buying!!

Rashad Hajiyev projected Gold could reach $8,000 by the end of 2026.Hajiyev warned the...
- Advertisement -

Must Read

Are Cryptocurrency Securities?

TL;DR - Cryptocurrencies are not typically considered securities, as they are decentralized digital assets that operate independently of any central authority or government. However,...
Bitcoin (BTC) $ 95,272.00 1.60%
Ethereum (ETH) $ 3,295.41 2.00%
XRP (XRP) $ 2.06 2.52%
Bittensor (TAO) $ 275.46 3.02%
Polkadot (DOT) $ 2.14 3.03%
Cardano (ADA) $ 0.390957 3.42%
Chainlink (LINK) $ 13.73 2.13%
Hyperliquid (HYPE) $ 24.83 1.64%
Monero (XMR) $ 702.89 1.32%
Hedera (HBAR) $ 0.116903 3.65%
Toncoin (TON) $ 1.71 4.32%