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.
Affected products
vm2_project: vm2
References10
- github.com/patriksimek/vm2/security/advisories/GHSA-v37h-5mfm-c… ExploitVendor Advisory
- github.com/patriksimek/vm2/commit/8d30d93213c1898b3e035298b89a8… Patch
- github.com/patriksimek/vm2/commit/bdd3d15e57bc4ec5e70365cd79f7c… Patch
- github.com/patriksimek/vm2/commit/fd266d084e0a3322d0f71ba2a8dc4… Patch
- github.com/patriksimek/vm2/releases/tag/v3.11.0 Release Notes
- access.redhat.com/errata/RHSA-2026:26234
- access.redhat.com/errata/RHSA-2026:36754
- access.redhat.com/security/cve/CVE-2026-24781
- bugzilla.redhat.com/show_bug.cgi?id=2466531
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24781…
Metrics
- CVSS 3.1
-
9.8
CRITICAL
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 1% percentile: 68 · as of 13 November 2026
- CWE
- CWE-94CWE-693CWE-653
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.