Skip to content

CVE-2026-92959 vm2 before 3.11.8 allowAsync Bypass via Promise Thenable

HighCVSS 7.1 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Red Hat

Description

vm2 before 3.11.8 does not fully enforce the allowAsync: false option in VM and NodeVM. While localPromise.prototype.then is replaced with a handler that throws 'Async not available', the sandbox's Promise static methods (Promise.resolve, Promise.all, Promise.race, Promise.any, and Promise.allSettled) still assimilate attacker-supplied thenables: native promise resolution performs PromiseResolveThenableJob and invokes the sandboxed code's then method in a microtask without passing through the patched then, so the async restriction is never applied. As a result, sandboxed script can schedule work that runs after VM.run() or NodeVM.run() has returned and outside the configured timeout, continuing to execute after the host believes execution is complete.

Upgrade path

9 packages: 2 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
redhat/ansible-automation-platform/automation-portal:1790254963(Red Hat ansible_portal 2.1) All versions No fix listed No fix yet
redhat/ansible-automation-platform/automation-portal:1790256405(Red Hat ansible_portal 2.2) 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.8 3.11.8 Fixed
npm vm2(npm) < 3.11.8; <= 3.11.7 3.11.8 Fixed

Affected products

ProductAffected versionsFixed in
npm vm2 < 3.11.8 3.11.8
redhat/ansible-automation-platform/automation-portal:1790254963(Red Hat:ansible_portal:2.1) All versions No fix listed
redhat/ansible-automation-platform/automation-portal:1790256405(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.7 No fix listed
npm vm2(npm) < 3.11.8 3.11.8

References