CVE-2026-22709 json
vm2 has a Sandbox Escape
published 2026-01-26 9 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-4660 , GHSA-99p7-6v5w-7xg8
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
vm2 is an open source vm/sandbox for Node.js. In vm2 prior to version 3.10.2, `Promise.prototype.then` `Promise.prototype.catch` callback sanitization can be bypassed. This allows attackers to escape the sandbox and run arbitrary code. In lib/setup-sandbox.js, the callback function of `localPromise.prototype.then` is sanitized, but `globalPromise.prototype.then` is not sanitized. The return value of async functions is `globalPromise` object. Version 3.10.2 fixes the issue.
Patch / fix
- npm vm2 3.10.2
- vm2_project vm2 3.10.2
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 9 mo ago
Exploit prediction
1.27% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/patriksimek/vm2/security/advisories/GHSA-99p7-6v5w-7xg8 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | vm2 | <3.10.2 |
3.10.2 |
Affected products
- patriksimek vm2
Classification
References
-
github.com
/patriksimek/vm2/commit/4b009c2d4b1131c01810c1205e641d614c322a29
web, patch
-
github.com
/patriksimek/vm2/security/advisories/GHSA-99p7-6v5w-7xg8
web, exploit, vendor-advisory
-
github.com
/patriksimek/vm2/releases/tag/v3.10.2
web, product, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-22709
advisory
-
github.com
/patriksimek/vm2
package
Sources
- CVE List CVE-2026-22709
- GitHub Advisory GHSA-99p7-6v5w-7xg8
- NVD CVE-2026-22709
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.