Advisories / npm / @react-native-community/cli / CVE-2025-11953
@react-native-community/cli has arbitrary OS command injection (CVE-2025-11953)
CVE-2025-11953 GHSA-399j-vxmf-hjvr Published 3 Nov 2025
Affects 2 packages. Each has a fixed release.
$ npm install @react-native-community/cli@^18.0.1 $ npm install @react-native-community/cli@^19.1.2 $ npm install @react-native-community/cli@^20.0.0 $ npm install @react-native-community/cli-server-api@^18.0.1 $ npm install @react-native-community/cli-server-api@^19.1.2 $ npm install @react-native-community/cli-server-api@^20.0.0
Which versions are affected
| Package | Affected | Fixed in |
|---|---|---|
| @react-native-community/cli | ≥ 18.0.0, < 18.0.1≥ 19.0.0-alpha.0, < 19.1.2≥ 20.0.0-alpha.0, < 20.0.0 | 18.0.119.1.220.0.0 |
| @react-native-community/cli-server-api | ≥ 18.0.0, < 18.0.1≥ 19.0.0-alpha.0, < 19.1.2≥ 20.0.0-alpha.0, < 20.0.0 | 18.0.119.1.220.0.0 |
Check a site from its project folder:
npm ls @react-native-community/cli
shows the installed version. Or paste the lock file into the lock file checker to check every package at once.
Timeline
- Advisory published, with a fix
- Added to CISA’s exploited list
Questions
Which version of @react-native-community/cli is safe from CVE-2025-11953?
20.0.0 and later. Versions affected: ≥ 18.0.0, < 18.0.1, ≥ 19.0.0-alpha.0, < 19.1.2, ≥ 20.0.0-alpha.0, < 20.0.0.
Which version of @react-native-community/cli-server-api is safe from CVE-2025-11953?
20.0.0 and later. Versions affected: ≥ 18.0.0, < 18.0.1, ≥ 19.0.0-alpha.0, < 19.1.2, ≥ 20.0.0-alpha.0, < 20.0.0.
Is CVE-2025-11953 being exploited?
Yes. CISA added it to its Known Exploited Vulnerabilities list on 5 February 2026, which means it has been used in real attacks. Upgrade as soon as you can.