Detect Remotion RCE via Code Injection (CVE-2026-30120) in Sumo Logic CSE
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
Sumo Detection Query
_sourceCategory=*process* OR _sourceCategory=*node* OR _sourceCategory=*audit*
| where (_raw matches /remotion/ or _raw matches /@remotion/)
| where (_raw matches /child_process/ or _raw matches /execSync/ or _raw matches /spawnSync/ or _raw matches /eval\(/ or _raw matches /Function\(/)
| parse regex field=_raw "(?P<process_name>\\w+)\\s+(?P<command_line>.+)" nodrop
| eval severity = if(command_line matches /execSync|spawnSync/, "critical", if(command_line matches /eval\(|Function\(/, "high", "medium"))
| count by _sourceHost, process_name, command_line, severity
| order by _count desc Sumo Logic query identifying Remotion process executions with code injection patterns. Classifies severity based on the type of injection primitive observed.
Data Sources
Required Tables
False Positives & Tuning
- Automated screenshot or video capture services built on Remotion with dynamic content rendering
- Remotion Lambda or cloud rendering functions that use Node.js worker threads
- Development teams running Remotion storybooks or preview tooling
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.