Skip to content
OpenAdvisories
Critical · 10.0 CVE-2026-47131 EUVD-2026-36441GHSA-v6mx-mf47-r5wg

vm2: Sandbox Escape

Published Jun 12, 2026 · Updated Jun 13, 2026 · Assigned by GitHub_M

Description

vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, by combining Buffer.call.call({}.__lookupGetter__, Buffer, "__proto__"), Buffer.call.call({}.__lookupSetter__, Buffer, "__proto__"), and Node.js's ERR_INVALID_ARG_TYPE Error, the host's TypeError constructor can be obtained, which allows the escape from the sandbox. This allows attackers to run arbitrary code. This issue has been patched in version 3.11.4.

Affected products

VendorProductAffectedFixed
patriksimek vm2 < 3.11.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm vm2 < 3.11.4 3.11.4 GHSA-v6mx-mf47-r5wg

Advisories 1

References