Quick answers
- Is CVE-2026-47137 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-47137 being exploited in the wild.
- How severe is CVE-2026-47137?
- Critical severity, with a CVSS score of 10, published 12 June 2026.
- Which products and versions are affected?
- vm2 (npm) <= 3.11.3, SEMVER:introduced=0,fixed=3.11.4.
- Is there a fix for CVE-2026-47137?
- Yes. vm2 (npm): upgrade to 3.11.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-47137 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-47137?
- Check whether you run vm2 (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- vm2 (npm): upgrade to 3.11.4 or later
npm install vm2@3.11.4
Technical details
A sandbox escape vulnerability exists in vm2 due to an incomplete fix for a previous security issue. The validation logic in nodevm.js used a strict equality check (options.require === false) to block insecure configurations. However, an attacker can bypass this check by omitting the 'require' option entirely, causing it to be 'undefined' during the check but later defaulting to 'false' during destructuring. This results in a configuration that allows the sandbox to access the 'vm2' module itself, which can be used as a primitive to escape the sandbox and execute arbitrary code on the host system via child_process. The issue is patched in version 3.11.4.
Affected products
- patriksimek vm2 < 3.11.4
Identifiers
- CVE-2026-47137
- GHSA-m4wx-m65x-ghrr
Timeline
- 2026-05-17: patched: Initial fix for the bypass committed.
- 2026-06-12: advisory: CVE-2026-47137 published.