Skip to main content
VulnerabilityPublished Updated

Duplicate Advisory: vm2 contains a sandbox escape vulnerability

Affects vm2Source GCVE Database

0

CVSS 10.0 Critical : upgrade to 3.12.1 as a priority.

Data as of 7 Oct 2026, 22:13 UTC

CVSS 3.1 base score
10.0Critical
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.12.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

What to do

Upgrade vm2 to 3.12.1.

Affected software

ProductAffectedFixed in
npmvm2Affected
  • <3.12.1
Fixed in
  • 3.12.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade vm2 to version 3.12.1 or later where this vulnerability is patched. Avoid configuring NodeVM with builtin:['*'] or explicitly allowing child_process until patched.

Description

vm2 NodeVM versions prior to 3.12.1 have a critical sandbox escape vulnerability. The vulnerability arises because the denylist of dangerous built-in modules omits child_process, allowing attackers to require this module and execute arbitrary commands on the host system when NodeVM is configured with builtin:['*'] or explicitly allows child_process.

References

Community reviews

Loading reviews…