Detect Remotion RCE via Code Injection (CVE-2026-30120) in Microsoft Sentinel
Detects exploitation of CVE-2026-30120, a critical remote code execution vulnerability in the Remotion npm package (versions < 4.0.410). The vulnerability stems from improper code injection controls (CWE-94), allowing attackers to execute arbitrary code in environments running vulnerable Remotion versions. A public PoC exists, elevating exploitation risk.
MITRE ATT&CK
- Tactic
- Execution Persistence Lateral Movement
KQL Detection Query
let RemotionRCEIndicators = dynamic(['remotion', '@remotion/', 'remotion-dev']);
let SuspiciousNodePatterns = dynamic(['child_process', 'eval(', 'Function(', 'execSync', 'spawnSync', 'exec(']);
union DeviceProcessEvents, DeviceFileEvents, DeviceNetworkEvents
| where Timestamp > ago(24h)
| where (ProcessCommandLine has_any (RemotionRCEIndicators) or InitiatingProcessCommandLine has_any (RemotionRCEIndicators))
| where ProcessCommandLine has_any (SuspiciousNodePatterns) or FileName in~ ('node', 'npx') and ProcessCommandLine has_any (SuspiciousNodePatterns)
| project Timestamp, DeviceName, AccountName, ProcessCommandLine, InitiatingProcessCommandLine, FileName, FolderPath, RemoteIP, RemotePort
| order by Timestamp desc Detects Node.js process activity associated with Remotion that includes code injection patterns indicative of CVE-2026-30120 exploitation. Looks for child_process, eval, or exec usage spawned in the context of Remotion.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate Remotion video rendering pipelines that invoke child processes as part of normal operation
- Development environments where developers are testing Remotion rendering locally
- CI/CD pipelines that run Remotion rendering as part of automated build and deploy workflows
Other platforms for CVE-2026-30120
Testing Methodology
Validate this detection against 3 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 1Simulate Remotion Code Injection via eval()
Expected signal: Process launch event for node with command line containing 'remotion' and 'eval('. Child process event for 'id' command spawned from node. File creation event for /tmp/cve_2026_30120_test.txt.
- Test 2Simulate Remotion execSync Child Process Spawn
Expected signal: Process event for node with title 'remotion-renderer'. child_process module load. Execution of 'whoami'. File write to /tmp/remotion_rce_test.txt.
- Test 3Simulate Remotion RCE on Windows via spawnSync
Expected signal: DeviceProcessEvents entry for node.exe with 'remotion' and 'spawnSync' in CommandLine. Child process event for cmd.exe spawned from node.exe. File write event for remotion_rce_test.txt in TEMP directory.
Unlock Pro Content
Get the full detection package for CVE-2026-30120 including response playbook, investigation guide, and atomic red team tests.