Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-47698 EUVD-2026-60459GHSA-cfcw-xp6x-25gj

vm2: Sandbox Breakout Using Dangerous Host Proto Mutators

Published Aug 17, 2026 · Updated Aug 19, 2026 · Assigned by GitHub_M

Description

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, lib/bridge.js and lib/setup-sandbox.js fail to block stacked indirection through Function.prototype.call around dangerous host prototype getter and setter mutators, allowing sandbox code to sever a host intrinsic's prototype chain and reach e.constructor.constructor for arbitrary host command execution. This issue is fixed in version 3.11.6.

Affected products

VendorProductAffectedFixed
patriksimek vm2 < 3.11.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm vm2 < 3.11.6 3.11.6 GHSA-cfcw-xp6x-25gj

Advisories 1

References