Live threats

All CVEs / patriksimek

CVE-2026-92959patriksimek vm2

High 7.1

Priority
43
CVSS 4.0
7.1
EPSS
—
Auth required
Yes
Published
Sep 17, 2026
Updated
Sep 21, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-693
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for vm2.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm vm2 < 3.11.8 3.11.8 npm install vm2@3.11.8

Per OSV / GitHub Advisories (GHSA-f8gf-w286-fmq2). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.