Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-44008 EUVD-2026-30078GHSA-9qj6-qjgg-37qq

vm2 has sandbox breakout via `neutralizeArraySpeciesBatch`

Published May 13, 2026 · Updated Nov 4, 2026 · Assigned by GitHub_M

Description

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.2, the new method neutralizeArraySpeciesBatch works with objects from the other side but can call into this side via getter on the array prototype exposing objects of the wrong side into the sandbox. This can be used to get host objects and get the host Function object. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This vulnerability is fixed in 3.11.2.

Affected products

VendorProductAffectedFixed
patriksimek vm2 < 3.11.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm vm2 < 3.11.2 3.11.2 GHSA-9qj6-qjgg-37qq

References