CVE-2026-22709
Last modified
CVE-2026-22709 is a critical-severity vulnerability rated 10/10 on the CVSS scale. 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. EPSS estimates a 1.22% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vm2 Project | Vm2 | < 3.10.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-22709?
How severe is CVE-2026-22709?
How do I fix CVE-2026-22709?
Are you affected by CVE-2026-22709?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
