CVE-2026-92959
Reported by VulnCheck · Published September 17, 2026
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.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| patriksimek | vm2 | 0, 3.11.8 |
| npm | vm2 | 0 |
| patriksimek | vm2 | 3.11.8, 0, 0 |
Timeline
- Sep 17, 2026 Coalition ESS Score
- Sep 17, 2026 CVE Published
- Sep 18, 2026 EPSS Score
- Sep 24, 2026 EPSS Score
- Sep 26, 2026 EPSS Score
- Sep 30, 2026 EPSS Score
- Oct 2, 2026 EPSS Score
- Oct 5, 2026 CVE Updated
- Oct 6, 2026 EPSS Score
- Oct 6, 2026 Security Advisory
- Oct 8, 2026 EPSS Score
- Oct 11, 2026 EPSS Score
References
- GitHub Security Advisory (GHSA-f8gf-w286-fmq2) vendor-advisory
- VulnCheck Advisory: vm2 before 3.11.8 allowAsync Bypass via Promise Thenable third-party-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-92959 advisory
- https://github.com/advisories/GHSA-f8gf-w286-fmq2 advisory
- https://github.com/patriksimek/vm2/commit/1d1aa437a5a39b00b3de0deb3e31f751d4884f5f patch
- https://github.com/patriksimek/vm2/releases/tag/v3.11.8 url