CVE-2026-24781
Critical · CVSS 9.8vm2 — Sandbox breakout via inspect function leading to arbitrary command execution (RCE)
- CVSS
- 9.8
- nvd
- EPSS
- 1.16%
- 63th pct
- KEV
- No
- Class
- oss containerizable
- CWE-94, CWE-693, CWE-653
Description
vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox breakout vulnerability through the inspect function. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This issue has been patched in version 3.11.0.
Search profile — drives PoC discovery
Symbols inspectVM2sandboxbreakoutvm2patriksimekGHSA-v37h-5mfm-c47c8d30d93213c1898b3e035298b89a814970dd1189bdd3d15e57bc4ec5e70365cd79f7cb0256e5f88cfd266d084e0a3322d0f71ba2a8dc4c96cd030228
Keywords CVE-2026-24781vm2 sandbox escapevm2 breakoutvm2 inspect RCEvm2 arbitrary command executionGHSA-v37h-5mfm-c47cvm2 3.11.0vm2 Node.js sandbox bypass
Versions: < 3.11.0
Ranked PoCs (1) — best first
Heuristic ranking — not yet expert-vetted. Scored on structure + provenance, not execution.
- ★ 0
Recall-favoring discovery; ranking by the Stage-4 scorer (Adam's rubric). Scanner/aggregator repos are hidden.
Affected packages
| npm | vm2 | 0 → 3.11.0 |
References
- https://github.com/patriksimek/vm2/commit/8d30d93213c1898b3e035298b89a814970dd1189
- https://github.com/patriksimek/vm2/commit/bdd3d15e57bc4ec5e70365cd79f7cb0256e5f88c
- https://github.com/patriksimek/vm2/commit/fd266d084e0a3322d0f71ba2a8dc4c96cd030228
- https://github.com/patriksimek/vm2/releases/tag/v3.11.0
- https://github.com/patriksimek/vm2/security/advisories/GHSA-v37h-5mfm-c47c
- https://access.redhat.com/errata/RHSA-2026:26234
- https://access.redhat.com/errata/RHSA-2026:36754
- https://access.redhat.com/security/cve/CVE-2026-24781
- https://bugzilla.redhat.com/show_bug.cgi?id=2466531
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24781.json
Status: enriched · ingested 2026-06-30T06:00:22.000Z · profiled 2026-07-01T00:30:14.000Z