CVE-2026-24120: vm2 Promise Species Sandbox Escape
- Vendor
- Vm2 Project
CVE-2026-24120 is a critical sandbox escape in the vm2 Node.js sandbox. It bypasses the incomplete mitigation for CVE-2023-37466 in Promise species handling. Attacker-controlled sandbox code can replace Object.defineProperty with a no-op, preventing the resetPromiseSpecies safeguard from restoring a safe Promise species. A crafted Promise chain can then expose a host-realm TypeError; traversal of that error object's constructor chain provides access to host-realm functionality and enables escape from vm2 isolation. The vulnerability affects vm2 releases prior to 3.10.5; reported affected releases include 3.10.3 and earlier.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker can escape the vm2 sandbox and execute arbitrary commands in the host Node.js environment. This can result in complete compromise of the host process, including execution of operating-system commands, access to files and secrets available to that process, modification of host resources, and potential service disruption. The reported CVSS v3.1 vector is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8).
Mitigation
If you can’t patch tonight, do this now.
Until upgrades are complete, do not execute attacker-controlled or untrusted JavaScript using affected vm2 versions. Restrict access to code-evaluation functionality, isolate execution workloads from sensitive host resources and credentials, and use process- or VM-level isolation for untrusted workloads rather than relying solely on an in-process JavaScript sandbox.
Remediation
Patch, then assume compromise.
Upgrade vm2 to version 3.10.5 or later, which patches this vulnerability and adds defense-in-depth protections. Audit direct and transitive dependencies to identify installations of vm2 below 3.10.5. Deploy the latest maintained vm2 release where feasible, since later releases address additional sandbox-escape vulnerabilities.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-24120 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2026-24120 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-24120?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2026-24120.
- Is there a patch for CVE-2026-24120?
- Upgrade vm2 to version 3.10.5 or later, which patches this vulnerability and adds defense-in-depth protections. Audit direct and transitive dependencies to identify installations of vm2 below 3.10.5.
- What products are affected by CVE-2026-24120?
- Vm2 Project Vm2.
- How severe is CVE-2026-24120?
- CVE-2026-24120 has a CVSS v3.1 score of 9.1 (Critical) and an EPSS score of 0.96% (60th percentile) as of Oct 16, 2026.
Recent activity
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.