{"id":"CVE-2026-92959","published":"2026-09-17T13:46:16Z","modified":"2026-09-21T20:41:28Z","title":"vm2 before 3.11.8 allowAsync Bypass via Promise Thenable","vendor":"patriksimek","product":"vm2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00449,"percentile":0.30854,"provenance":"source"},"cwes":[{"id":"CWE-693","name":"Protection Mechanism Failure"}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-f8gf-w286-fmq2","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/vm2-before-3.11.8-allowasync-bypass-via-promise-thenable","tags":["third-party-advisory"]}],"priority":{"score":11.1,"factors":[{"name":"EPSS percentile","points":6.17},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"patriksimek","affectedVersions":[{"vendor":"patriksimek","product":"vm2","versions":["< 3.11.8"]}],"fixedVersions":[{"vendor":"patriksimek","product":"vm2","versions":["3.11.8"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-21T20:41:04.607286Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"vm2","vulnerableRanges":["<3.11.8"],"patched":["3.11.8"],"from":["GHSA-f8gf-w286-fmq2"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-81608","exploited":false,"provenance":"source"}}