vm2: Missing Error.cause Sanitization Enables VM2 Sandbox Escape to RCE
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-693.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| patriksimek | vm2 | before 3.11.6 | 3.11.6 | Patch available | CNA |
| — | vm2 (npm) | before 3.11.6 | 3.11.6 | Patch available | GHSA-m283-3h24-438v |
- vm2 Vendorpatriksimek Affected before 3.11.6 Fixed in 3.11.6 Patch available CNA
- vm2 (npm) Vendor— Affected before 3.11.6 Fixed in 3.11.6 Patch available GHSA-m283-3h24-438v
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:*:*:* | — | — | patriksimek |
- cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:*:*:* Versions — — ·patriksimek
Remediation
- Fix · CNA vm2 (patriksimek) Fixed in 3.11.6
- Fix · GHSA-m283-3h24-438v vm2 (npm) Fixed in 3.11.6 Advisory →
Red Hat 6 advisories
- RHSA-2026:91651 Released 2026-10-28 · Red Hat rating CriticalRed Hat Developer Hub 1.9.10 release.
- Red Hat Developer Hub 1.9 registry.redhat.io/rhdh/rhdh-hub-rhel9, registry.redhat.io/rhdh/rhdh-rhel9-operator
- RHSA-2026:82151 Released 2026-10-13 · Red Hat rating CriticalAnsible automation portal Red Hat Enterprise Linux Images
- Red Hat Ansible Automation Platform 2.2 registry.redhat.io/ansible-automation-platform/bootc-automation-portal-rhel9
- RHSA-2026:80644 Released 2026-10-12 · Red Hat rating CriticalAnsible plug-ins for Red Hat Developer Hub Product Release Update
- Red Hat Ansible Automation Platform 2.2 registry.redhat.io/ansible-automation-platform/automation-portal
Show 3 more Red Hat advisories
- RHSA-2026:80603 Released 2026-10-12 · Red Hat rating CriticalAnsible plug-ins for Red Hat Developer Hub Product Release Update
- Red Hat Ansible Automation Platform 2.1 registry.redhat.io/ansible-automation-platform/automation-portal
- RHSA-2026:79088 Released 2026-10-08 · Red Hat rating CriticalRed Hat Developer Hub 1.10.5 release.
- Red Hat Developer Hub 1.10 registry.redhat.io/rhdh/rhdh-hub-rhel9, registry.redhat.io/rhdh/rhdh-rhel9-operator
- RHSA-2026:76788 Released 2026-10-06 · Red Hat rating CriticalRed Hat Developer Hub 1.10.5 Plugin Catalog GA plugins release.
- Red Hat Developer Hub 1.10 registry.redhat.io/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed, registry.redhat.io/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend, registry.redhat.io/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator +4
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2.1 | Fixed | RHSA-2026:80603 |
| Red Hat Ansible Automation Platform 2.2 | Fixed | RHSA-2026:80644, RHSA-2026:82151 |
| Red Hat Developer Hub 1.10 | Fixed | RHSA-2026:76788, RHSA-2026:79088 |
| Red Hat Developer Hub 1.9 | Fixed | RHSA-2026:91651 |
Not affected: 2 products
- Red Hat Developer Hub 1.10
- Red Hat Developer Hub 1.9
Timeline
- 2026-10-02 Threatist record created from CVE-2026-47686
- 2026-10-03 Alias added: GHSA-m283-3h24-438v
- 2026-10-07 Fix available: RHSA-2026:76788 · Red Hat
- 2026-10-07 Fix available: Red Hat Developer Hub 1.10 · Red Hat
- 2026-10-09 Fix available: RHSA-2026:79088 · Red Hat
- 2026-10-09 Affected versions changed · Red Hat
- 2026-10-13 Fix available: RHSA-2026:80603 · Red Hat
- 2026-10-13 Fix available: RHSA-2026:80644 · Red Hat
- 2026-10-13 Fix available: Red Hat Ansible Automation Platform 2.1, Red Hat Ansible Automation Platform 2.2 · Red Hat
- 2026-10-13 Fix available: RHSA-2026:82151 · Red Hat
- 2026-10-30 Fix available: RHSA-2026:91651 · Red Hat
- 2026-10-30 Fix available: Red Hat Developer Hub 1.9 · Red Hat
References
More patriksimek vulnerabilities
- TI-2023-14382 Sandbox Escape in vm2 CVSS 3.1CRITICAL 10.0
- TI-2023-13478 vm2 Sandbox Escape vulnerability CVSS 3.1CRITICAL 10.0
- TI-2026-63070 vm2 before 3.12.1 Sandbox Escape via Promise Symbol.species CVSS 4.0CRITICAL 10.0
- TI-2026-63067 vm2 before 3.12.1 Sandbox Escape RCE via Non-Strict Host Function CVSS 4.0CRITICAL 10.0
- TI-2026-62623 vm2 before 3.11.6 Process-wide State Exposure via os and dns CVSS 4.0CRITICAL 10.0
- TI-2026-62618 vm2 before 3.11.8 Sandbox Escape via NodeVM CVSS 4.0CRITICAL 10.0
Sources
- CVE-2026-47686 · CVE Program
- CVE-2026-47686 · NVD
- FIRST EPSS
- GHSA-m283-3h24-438v · GitHub Advisory Database · CC BY 4.0
- CVE-2026-47686 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences