CVE-2026-47131: Vulnerability in vm2

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

npm, CWE-913

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

Details

Advisory ID
GHSA-v6mx-mf47-r5wg
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-913
Published
29 May 2026
Last change
26 Oct 2026
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • vm2 npm, Affected through 3.11.3. Fixed in 3.11.4

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes