CVE-2026-92935 vm2 NodeVM Remote Code Execution via Array-Shaped Require
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Red Hat
Description
vm2 is a sandbox for running untrusted Node.js code. In versions >= 3.11.4 and <= 3.11.6, the NodeVM constructor computes hasRealRequireConfig with typeof requireOpts === 'object' && requireOpts !== null, so an array-shaped require value (for example require: []) satisfies the guard that is meant to reject nesting without an explicit require configuration. makeResolverFromLegacyOptions() then destructures the array into undefined option fields and returns a resolver containing only NESTING_OVERRIDE.vm2. As a result, an attacker who can supply JavaScript executed by a NodeVM configured with truthy nesting and an array-shaped require (e.g. new NodeVM({nesting: true, require: []})) can require the host vm2 module, create an inner NodeVM with an attacker-chosen builtin allowlist (such as child_process), and execute arbitrary commands with the privileges of the host Node.js process, escaping the sandbox. Outer builtin restrictions do not constrain the attacker-created inner NodeVM. This issue is fixed in vm2 3.11.7.
Upgrade path
9 packages: 2 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/ansible-automation-platform/automation-portal:1791293780(Red Hat ansible_portal 2.2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform/automation-portal:1791295379(Red Hat ansible_portal 2.1) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform/bootc-automation-portal-rhel9:1791865660(Red Hat ansible_portal 2.2 el9) | All versions | No fix listed | No fix yet |
| redhat/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:1791242697(Red Hat rhdh 1.10 el9) | All versions | No fix listed | No fix yet |
| redhat/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1791251282(Red Hat rhdh 1.10 el9) | All versions | No fix listed | No fix yet |
| redhat/rhdh/rhdh-hub-rhel9:1791311495(Red Hat rhdh 1.10 el9) | All versions | No fix listed | No fix yet |
| redhat/rhdh/rhdh-hub-rhel9:1793117813(Red Hat rhdh 1.9 el9) | All versions | No fix listed | No fix yet |
| npm vm2 | >= 3.11.4, < 3.11.7 | 3.11.7 | Fixed |
| npm vm2(npm) | >= 3.11.4, < 3.11.7; >= 3.11.4, <= 3.11.6 | 3.11.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm vm2 | >= 3.11.4, < 3.11.7 | 3.11.7 |
| redhat/ansible-automation-platform/automation-portal:1791295379(Red Hat:ansible_portal:2.1) | All versions | No fix listed |
| redhat/ansible-automation-platform/automation-portal:1791293780(Red Hat:ansible_portal:2.2) | All versions | No fix listed |
| redhat/ansible-automation-platform/bootc-automation-portal-rhel9:1791865660(Red Hat:ansible_portal:2.2::el9) | All versions | No fix listed |
| redhat/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:1791242697(Red Hat:rhdh:1.10::el9) | All versions | No fix listed |
| redhat/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1791251282(Red Hat:rhdh:1.10::el9) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9:1791311495(Red Hat:rhdh:1.10::el9) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9:1793117813(Red Hat:rhdh:1.9::el9) | All versions | No fix listed |
| npm vm2(npm) | >= 3.11.4, <= 3.11.6 | No fix listed |
| npm vm2(npm) | >= 3.11.4, < 3.11.7 | 3.11.7 |
References
- GitHub Security Advisory (GHSA-8hr7-r645-pc6w) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: vm2 NodeVM Remote Code Execution via Array-Shaped Require third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:80603 patch vendor-advisory
- RHSA-2026:80644 patch vendor-advisory
- RHSA-2026:82151 patch vendor-advisory
- RHSA-2026:76788 patch vendor-advisory
- RHSA-2026:79088 patch vendor-advisory
- RHSA-2026:91651 patch vendor-advisory
- Red Hat Bugzilla 2536041 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com
- github.com product
- ENISA EUVD EUVD-2026-81585 third-party-advisory