CVE-2026-47137 json
vm2: GHSA-8hg8-63c5-gwmx patch bypass: nesting:true without explicit require still allows full RCE
published 2026-05-29 5 mo ago modified 2026-10-26 14 d ago also EUVD-2026-36443 , GHSA-m4wx-m65x-ghrr
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm vm2 3.11.4
- vm2_project vm2 3.11.4
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-47137 updated cvss 4.1
vm2: vm2: Sandbox escape leading to arbitrary code execution via security bypass
-
Red Hat Ansible Automation Platform 2.1 ansible-automation-platform/automation-portal 1785854226fixed: vendor fix RHSA-2026:50850
-
Red Hat Developer Hub 1.9 rhdh/rhdh-hub-rhel9 1782761244fixed: vendor fix RHSA-2026:33574
-
Red Hat Developer Hub 1.10 rhdh/rhdh-hub-rhel9 1783448184fixed: vendor fix RHSA-2026:36754
-
Red Hat Developer Hub 1.9 rhdh/rhdh-rhel9-operator 1782767215, rhdh/rhdh-operator-bundle 1782772967 Red Hat Developer Hub 1.10 rhdh/rhdh-rhel9-operator 1783447707, rhdh/rhdh-operator-bundle 1783453583, rhdh/rhdh-must-gather-rhel9 1783447888, rhdh/rhdh-rag-content-rhel9 1783446803not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | vm2 | <3.11.4 |
3.11.4 |
Affected products
- patriksimek vm2
Classification
- Weakness
-
- CWE-913 Improper Control of Dynamically-Managed Code Resources
References
-
github.com
/patriksimek/vm2/commit/01a7552add345d5a6862623884e6b79a85bf0568
web
-
github.com
/patriksimek/vm2/commit/86ab819f202c3a8dad88cef5705f2e416c5188d7
web
-
github.com
/patriksimek/vm2/security/advisories/GHSA-m4wx-m65x-ghrr
web
- github.com /advisories/GHSA-g644-9gfx-q4q4
-
github.com
/patriksimek/vm2/releases/tag/v3.11.4
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-47137
advisory
-
github.com
/patriksimek/vm2
package
Sources
- CVE List CVE-2026-47137
- GitHub Advisory GHSA-m4wx-m65x-ghrr
- NVD CVE-2026-47137
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.