What’s Vulnerable › Vulnerabilities

CVE-2026-44008: vm2: Snabox breakout via `neutralizeArraySpeciesBatch`

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

How to fix

Upgrade to a fixed version: patriksimek vm2 3.11.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-44008 or the next vulnerability affects your stack