CVE-2026-47137 Sumo Logic CSE · Sumo

Detect CVE-2026-47137 — vm2 Sandbox Escape via nesting:true Bypass (RCE) in Sumo Logic CSE

Detects exploitation of CVE-2026-47137, a critical sandbox escape vulnerability in the vm2 Node.js library (<=3.11.3). This bypass circumvents the CVE-2023-37903 patch by abusing the nesting:true configuration option without an explicit require, enabling full remote code execution from within a sandboxed context. CVSS 10.0.

MITRE ATT&CK

Tactic
Execution Privilege Escalation Lateral Movement

Sumo Detection Query

Sumo Logic CSE (Sumo)
sql
_sourceCategory=*linux* OR _sourceCategory=*windows* OR _sourceCategory=*node* OR _sourceCategory=*sysmon*
| parse regex "(?i)(?P<process_name>node(?:\.exe)?)" nodrop
| parse regex "(?i)(?P<vm2_ref>vm2|nesting[\s:=]+true|sandbox)" nodrop
| parse regex "(?i)(?P<shell_spawn>child_process|execSync|spawnSync|execFileSync|/bin/sh|bash -c|cmd\.exe|powershell)" nodrop
| where !isNull(process_name) AND !isNull(vm2_ref) AND !isNull(shell_spawn)
| timeslice 5m
| stats count AS event_count, last(_raw) AS sample_log, values(_sourceHost) AS hosts
    BY _timeslice, process_name, vm2_ref, shell_spawn
| where event_count >= 1
| sort by _timeslice desc
| fields _timeslice, hosts, process_name, vm2_ref, shell_spawn, event_count, sample_log
critical severity medium confidence

Sumo Logic query extracting Node.js, vm2, and shell-spawn indicators from Linux/Windows/Sysmon log sources to surface CVE-2026-47137 exploitation activity via pattern matching and correlation.

Data Sources

Sumo Logic Cloud SIEMLinux syslog collectorWindows Event Log collectorSysmon collector

Required Tables

_sourceCategory=*linux*_sourceCategory=*windows*_sourceCategory=*sysmon*

False Positives & Tuning

  • Node.js-based workflow engines using vm2 for sandboxed task execution that legitimately shell out to system utilities
  • API gateways using vm2 to isolate tenant code with expected outbound service calls
  • Development environments running vm2 in watch mode alongside shell-based build tools

Other platforms for CVE-2026-47137


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.

  1. Test 1vm2 nesting:true Sandbox Escape via CVE-2026-47137

    Expected signal: Sysmon EventID 1 showing node process spawning with vm2 in command line; child_process.execSync call visible in process arguments; file creation event for /tmp/vm2_escape_proof.txt

  2. Test 2vm2 Vulnerable Version Installation and Verification

    Expected signal: npm install process spawning with [email protected] argument; file creation events under /tmp/vm2_test/node_modules/vm2/; network connection to npm registry (registry.npmjs.org:443)

  3. Test 3vm2 Reverse Shell Simulation Post-Escape

    Expected signal: Network connection from node process to 127.0.0.1:9999 (or configured beacon host); curl child process spawned from Node.js parent; DNS/HTTP request with CVE identifier in URI path

  4. Test 4vm2 nesting Bypass with Prototype Chain Traversal (Variant)

    Expected signal: Node.js process with vm2 in command line; fs.writeFileSync call resulting in file creation event at /tmp/vm2_variant_proof.txt; no child process spawned in this variant

Unlock Pro Content

Get the full detection package for CVE-2026-47137 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections