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

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-17T13:46:16.252Z
- Modified: 2026-10-05T23:00:04.244Z
- Also known as: GHSA-f8gf-w286-fmq2
- Weaknesses: CWE-693
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- patriksimek vm2: before 3.11.8 (not affected: 3.11.8)
- vm2 (npm): before 3.11.8

## Every score

- VulnCheck: CVSS:4.0 7.1 High `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`
- VulnCheck: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/patriksimek/vm2/security/advisories/GHSA-f8gf-w286-fmq2> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/vm2-before-3.11.8-allowasync-bypass-via-promise-thenable> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-92959> (advisory)
- <https://github.com/patriksimek/vm2/commit/1d1aa437a5a39b00b3de0deb3e31f751d4884f5f> (web)
- <https://github.com/patriksimek/vm2> (package)
- <https://github.com/patriksimek/vm2/releases/tag/v3.11.8> (web)

## Sources

- CVE List: [CVE-2026-92959](https://www.cve.org/CVERecord?id=CVE-2026-92959), CVE Terms of Use, modified 2026-09-21
- GitHub Advisory Database: [GHSA-f8gf-w286-fmq2](https://github.com/advisories/GHSA-f8gf-w286-fmq2), CC-BY-4.0, modified 2026-10-05
- NVD: [CVE-2026-92959](https://nvd.nist.gov/vuln/detail/CVE-2026-92959), Public domain, modified 2026-09-21

---

Page: https://cve.day/CVE-2026-92959 · Whole record: https://cve.day/CVE-2026-92959.json · Rebuilt by cve.day 2026-11-25T22:59:39.254Z
