CVE-2026-92959

vm2 before 3.11.8 allowAsync Bypass via Promise Thenable

HIGH
7.1
CVSS Score
Published: September 17, 2026 at 01:46 PM UTC
Updated: September 21, 2026 at 09:17 PM UTC
1 product affected across 1 vendorVM2

Using vm2 by patriksimek?

Get instant alerts when new vulnerabilities affect vm2 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.4%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.11.8
Vendor states this is fixed in 3.11.8 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.1HIGHVulnCheck
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-693

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card