CVE-2026-92944patriksimek vm2
Sandbox escape in vm2 via Promise.prototype.finally()
Critical 9.3 No auth needed
Follow: this CVE · patriksimek · patriksimek vm2 We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 17, 2026
- Updated
- Sep 19, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-693
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
vm2 versions 3.10.2 through 3.11.6 contain a sandbox escape vulnerability on Node.js 26 where Promise.prototype.finally() bypasses vm2's wrapper protections due to a stale PromiseThenLookupChain protector in V8 14.6. An unauthenticated attacker can create an async function returning a Promise with an attacker-controlled Symbol.species to reach the host Function constructor and execute arbitrary code.
Show the original NVD text
vm2 versions 3.10.2 through 3.11.6 contain a sandbox escape vulnerability on Node.js 26 where Promise.prototype.finally() bypasses vm2's wrapper protections due to a stale PromiseThenLookupChain protector in V8 14.6. Attackers can exploit this by creating an async function that returns a Promise with an attacker-controlled constructor Symbol.species, allowing them to reach the host Function constructor and process object for arbitrary code execution.
What to do
Patch available · fixed versions: 3.11.7
Update vm2 to version 3.11.7 or later.
- Apply the vendor's security update for vm2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | vm2 |
≥ 3.10.2 < 3.11.7 |
3.11.7 |
npm install vm2@3.11.7 |
Per OSV / GitHub Advisories (GHSA-27g9-p43v-cw3v). Check the version in your lockfile before upgrading.
Affected products
- patriksimek · vm2
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.