CVE-2026-24781
Critical
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.
SeverityCritical
CVSS9.8
Exploit probability—
ProductVm2
PublishedMay 4, 2026
First seenMay 4, 2026
Weakness typeCWE-94Code injectionCWE-693CWE-693
How to fix
Update
- vm2_project vm23.11.0 or later
- vm23.11.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vm2_project vm2 | v < 3.11.0 | 3.11.0 |
| vm2npm | v < 3.11.0 | 3.11.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.