CVE-2026-47698: Vulnerability in vm2

Critical. 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.

npm, CWE-913

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-cfcw-xp6x-25gj
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-913
Published
17 Aug 2026
Last change
23 Oct 2026
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • vm2 npm, Affected through 3.11.5. Fixed in 3.11.6

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes