CVE-2026-24781

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

Configuration 1 (hide)

cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*

History

08 May 2026, 19:29

Type Values Removed Values Added
References () https://github.com/patriksimek/vm2/commit/8d30d93213c1898b3e035298b89a814970dd1189 - () https://github.com/patriksimek/vm2/commit/8d30d93213c1898b3e035298b89a814970dd1189 - Patch
References () https://github.com/patriksimek/vm2/commit/bdd3d15e57bc4ec5e70365cd79f7cb0256e5f88c - () https://github.com/patriksimek/vm2/commit/bdd3d15e57bc4ec5e70365cd79f7cb0256e5f88c - Patch
References () https://github.com/patriksimek/vm2/commit/fd266d084e0a3322d0f71ba2a8dc4c96cd030228 - () https://github.com/patriksimek/vm2/commit/fd266d084e0a3322d0f71ba2a8dc4c96cd030228 - Patch
References () https://github.com/patriksimek/vm2/releases/tag/v3.11.0 - () https://github.com/patriksimek/vm2/releases/tag/v3.11.0 - Release Notes
References () https://github.com/patriksimek/vm2/security/advisories/GHSA-v37h-5mfm-c47c - () https://github.com/patriksimek/vm2/security/advisories/GHSA-v37h-5mfm-c47c - Exploit, Vendor Advisory
CPE cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*
First Time Vm2 Project vm2
Vm2 Project

04 May 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-04 17:16

Updated : 2026-05-08 19:29


NVD link : CVE-2026-24781

Mitre link : CVE-2026-24781

CVE.ORG link : CVE-2026-24781


JSON object : View

Products Affected

vm2_project

  • vm2
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-693

Protection Mechanism Failure