CVE-2026-47686 vm2: Missing Error.cause Sanitization Enables VM2 Sandbox Escape to RCE
CriticalCVSS 9.9
EPSS 0.58%
- Published
- Updated
- Exploit status
- No public exploit known
Description
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, handleException() in lib/setup-sandbox.js sanitizes SuppressedError.error, SuppressedError.suppressed, and AggregateError.errors but does not sanitize Error.cause, allowing sandbox code to obtain a powerful host object such as process from an embedder-exposed host function that throws an error with that object as its cause and then execute arbitrary host commands. This issue is fixed in version 3.11.6.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| patriksimek vm2 | = < 3.11.6 | No fix listed |
| 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.5 | No fix listed |
| npm vm2(npm) | < 3.11.6 | 3.11.6 |
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-m283-3h24-438v vendor-advisory
- https://github.com/patriksimek/vm2/commit/7e3faaf550f4ab975bf4cdde183fcec49b056d8e
- https://github.com/patriksimek/vm2/releases/tag/3.11.6
- 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 2517639 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- github.com product