Skip to content

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

ProductAffected versionsFixed 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