CVE-2026-30120 Elastic Security · Elastic

Detect Remotion RCE via Code Injection (CVE-2026-30120) in Elastic Security

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

Elastic Detection Query

Elastic Security (Elastic)
eql
sequence by host.name with maxspan=5m
  [process where event.type == "start"
    and (process.name in ("node", "npx") or process.args : "*remotion*")
    and process.args : ("*child_process*", "*execSync*", "*spawnSync*", "*eval(*", "*Function(*")]
  [process where event.type == "start"
    and process.parent.name in ("node", "npx")
    and not process.name in ("node", "npx", "ffmpeg", "chrome", "chromium")]
critical severity medium confidence

EQL sequence rule detecting Remotion code injection followed by unexpected child process spawning, a hallmark of CVE-2026-30120 RCE exploitation.

Data Sources

Elastic EndpointFilebeat with auditdWinlogbeat

Required Tables

logs-endpoint.events.process*logs-system.syslog*

False Positives & Tuning

  • Remotion compositions that programmatically render video using bundled Chromium browser processes
  • Node.js development servers spawning watch or hot-reload processes
  • Automated testing frameworks that run Remotion as part of integration tests

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.

  1. 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.

  2. 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.

  3. 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.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections