Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-24781 EUVD-2026-26987GHSA-v37h-5mfm-c47c

vm2: Sandbox Breakout Through Inspect

Published May 4, 2026 · Updated Jul 15, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
patriksimek vm2 < 3.11.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm vm2 < 3.11.0 3.11.0 GHSA-v37h-5mfm-c47c

Advisories 1

References