# CVE-2026-47137: vm2: GHSA-8hg8-63c5-gwmx patch bypass: nesting:true without explicit require still allows full RCE

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 49% of CVEs (2026-11-30)
- Published: 2026-05-29T17:50:22.000Z
- Modified: 2026-10-26T11:10:00.157Z
- Also known as: GHSA-m4wx-m65x-ghrr
- Weaknesses: CWE-913
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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 undefined, not false. The strict equality check fails, so the security guard is skipped. Immediately after (line 280), the destructuring default require: requireOpts = false assigns requireOpts = false, producing the exact configuration the patch was designed to prevent. This issue has been patched in version 3.11.4.

(As written by CVE List.)

## Affected

- patriksimek vm2: < 3.11.4
- vm2 (npm): before 3.11.4

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/patriksimek/vm2/security/advisories/GHSA-m4wx-m65x-ghrr> (web)
- <https://github.com/patriksimek/vm2/commit/01a7552add345d5a6862623884e6b79a85bf0568> (web)
- <https://github.com/patriksimek/vm2/commit/86ab819f202c3a8dad88cef5705f2e416c5188d7> (web)
- <https://github.com/advisories/GHSA-g644-9gfx-q4q4>
- <https://github.com/patriksimek/vm2/releases/tag/v3.11.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47137> (advisory)
- <https://github.com/patriksimek/vm2> (package)

## Sources

- CVE List: [CVE-2026-47137](https://www.cve.org/CVERecord?id=CVE-2026-47137), CVE Terms of Use, modified 2026-06-13
- GitHub Advisory Database: [GHSA-m4wx-m65x-ghrr](https://github.com/advisories/GHSA-m4wx-m65x-ghrr), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2026-47137](https://nvd.nist.gov/vuln/detail/CVE-2026-47137), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-47137 · Whole record: https://cve.day/CVE-2026-47137.json · Rebuilt by cve.day 2026-11-25T22:59:24.514Z
