CVE-2026-92959
published high CVSS 4.0 · 7.1vm2 before 3.11.8 allowAsync Bypass via Promise Thenable
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| patriksimek | — | vm20 to < 3.11.8 (affected · semver) · 3.11.8 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| patriksimek | vm2 | 0 to < 3.11.8 (affected · semver)3.11.8 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-693 Protection Mechanism Failure
References
2- GitHub Security Advisory (GHSA-f8gf-w286-fmq2) https://github.com/patriksimek/vm2/security/advisories/GHSA-f8gf-w286-fmq2
- VulnCheck Advisory: vm2 before 3.11.8 allowAsync Bypass via Promise Thenable https://www.vulncheck.com/advisories/vm2-before-3.11.8-allowasync-bypass-via-promise-thenable
Provider assertions
2VulnCheck · cna
vm2 before 3.11.8 allowAsync Bypass via Promise Thenable
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d24ebed1e6ccd921a74db7e9480ea2475435de3b8294299ce049114d892d7bd6
- Ingested
- 23 Sep 2026, 09:40:21 UTC
- Source record
- Official CVE record