Detect Remotion RCE via Code Injection (CVE-2026-30120) in IBM QRadar
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
QRadar Detection Query
SELECT DATEFORMAT(starttime, 'YYYY-MM-dd HH:mm:ss') AS event_time, sourceip, destinationip, username, "Process Name", "Command", QIDNAME(qid) AS event_name
FROM events
WHERE LOGSOURCETYPENAME(devicetype) IN ('Microsoft Windows Security Event Log', 'Linux OS', 'SyslogNG')
AND ("Command" ILIKE '%remotion%' OR "Command" ILIKE '%@remotion%')
AND ("Command" ILIKE '%child_process%' OR "Command" ILIKE '%execSync%' OR "Command" ILIKE '%spawnSync%' OR "Command" ILIKE '%eval(%' OR "Command" ILIKE '%Function(%')
AND LOGSOURCENAME(logsourceid) NOT IN ('Known-safe-ci-server')
LAST 24 HOURS
ORDER BY starttime DESC Identifies command-line activity referencing Remotion packages combined with JavaScript code injection primitives. Targets Windows and Linux event sources.
Data Sources
Required Tables
False Positives & Tuning
- Developers running local Remotion preview servers with debugging options enabled
- Legitimate video production pipelines using Remotion's server-side rendering API
- Package auditing tools scanning Remotion dependencies
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.