CVE-2026-47137: Vulnerability in vm2

Critical. vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, the fix for GHSA-8hg8-63c5-gwmx (CVE-2023-37903) introduced a check in nodevm.js line 263 that blocks the combination nesting: true + require: false. However, the check uses strict equality (options.require === false), which is trivially bypassed by omitting the require option entirely. When require is not specified, options.require is...

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-m4wx-m65x-ghrr
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