Detect React Native Community CLI OS Command Injection (CVE-2025-11953) in CrowdStrike LogScale
Detects exploitation of CVE-2025-11953, an OS command injection vulnerability (CWE-78) in the React Native Community CLI. An attacker who can influence arguments or configuration consumed by the React Native CLI can inject arbitrary OS commands that execute with the privileges of the developer or CI/CD process invoking the CLI. This vulnerability is listed in the CISA Known Exploited Vulnerabilities catalog.
MITRE ATT&CK
- Tactic
- Execution Persistence Lateral Movement
LogScale Detection Query
event_simpleName=ProcessRollup2
| filter (CommandLine = "*react-native*" OR CommandLine = "*@react-native-community*" OR ParentCommandLine = "*react-native*")
| filter CommandLine = "*[;&|`$()]*"
| filter (CommandLine = "*curl *" OR CommandLine = "*wget *" OR CommandLine = "*bash -i*" OR CommandLine = "*sh -c*" OR CommandLine = "*powershell*" OR CommandLine = "*cmd /c*" OR CommandLine = "*/dev/tcp*" OR CommandLine = "* nc *" OR CommandLine = "*ncat *")
| eval InjectionType=case(
CommandLine="*curl *" OR CommandLine="*wget *", "RemoteDownload",
CommandLine="*bash -i*" OR CommandLine="*sh -c*", "ShellEscape",
CommandLine="*powershell*" OR CommandLine="*cmd /c*", "WindowsShell",
CommandLine="*/dev/tcp*" OR CommandLine="* nc *" OR CommandLine="*ncat *", "ReverseShell",
true(), "MetacharInjection"
)
| table timestamp, ComputerName, UserName, FileName, CommandLine, ParentCommandLine, InjectionType
| sort -timestamp CrowdStrike Falcon Query Language detection for ProcessRollup2 events where the React Native Community CLI command line includes OS command injection metacharacters combined with shell or network utilities.
Data Sources
Required Tables
False Positives & Tuning
- Falcon-monitored CI/CD build hosts running legitimate react-native mobile build pipelines with shell chaining.
- Developer workstations where npm scripts wrap react-native CLI in shell commands.
- Security engineering teams running react-native CLI tooling alongside penetration testing utilities.
- Enterprise mobile development environments using custom build orchestration that invokes react-native with complex arguments.
Other platforms for CVE-2025-11953
Testing Methodology
Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1Command Injection via React Native CLI project name argument
Expected signal: Process create event showing node spawning sh or bash with a command line containing the injected semicolon-delimited id command; file creation event for /tmp/cve_2025_11953_poc.txt.
- Test 2Reverse shell injection via React Native CLI on Linux
Expected signal: Process create events for node → sh → id; file write to /tmp/rn_inject_test.txt containing the output of id.
- Test 3Remote payload download via injected curl in React Native CLI build context
Expected signal: Process create event for node spawning sh, which spawns curl with an external URL argument; network connection event for curl to destination host.
- Test 4Windows PowerShell injection via React Native CLI on Windows
Expected signal: Sysmon Event ID 1 showing node.exe spawning cmd.exe which spawns powershell.exe; file creation event in %TEMP% for rn_inject_test.txt.
Unlock Pro Content
Get the full detection package for CVE-2025-11953 including response playbook, investigation guide, and atomic red team tests.