{"id":"CVE-2026-92959","revision":"2063f47d7fec46eba25534b2af8910e6","records":[{"revision":"2063f47d7fec46eba25534b2af8910e6","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-92959","aliases":[],"title":"vm2 before 3.11.8 allowAsync Bypass via Promise Thenable","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.","state":0,"publishedAt":"2026-09-17T13:46:16.252+00:00","modifiedAt":"2026-09-21T20:41:28.71+00:00","affected":[{"ecosystem":"Vendor product","name":"vm2","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"patriksimek\",\n                    \"product\": \"vm2\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/vm2\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"3.11.8\"\n                        },\n                        {\n                            \"version\": \"3.11.8\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":7.1,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","score":7.1,"severity":"HIGH"}],"references":["https://github.com/patriksimek/vm2/security/advisories/GHSA-f8gf-w286-fmq2","https://www.vulncheck.com/advisories/vm2-before-3.11.8-allowasync-bypass-via-promise-thenable"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-92959","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-92959","identifiers":["CVE-2026-92959"]},"retained":false,"historicalAffected":[]}],"coverage":[]}