vm2 Promise species sandbox escape leading to host command execution
CVE-2026-24120 is a critical sandbox escape vulnerability in the vm2 Node.js sandbox library. The issue affects vm2 versions prior to 3.10.5 and is described as an incomplete fix bypass for CVE-2023-37466. The prior mitigation attempted to sanitize Promise species handling via a resetPromiseSpecies mechanism, but that protection can be neutralized because attacker-controlled code running inside the sandbox can overwrite Object.defineProperty. After disabling the intended sanitization, an attacker can abuse the species property of Promise objects so that Promise chaining uses an attacker-controlled constructor. The published exploit path causes a host-realm TypeError during stack formatting and then uses the leaked host-side error object to traverse the constructor chain and recover the host Function constructor. From there, the attacker can access process and invoke child_process.execSync() to execute arbitrary operating system commands on the underlying host. In practical terms, untrusted JavaScript evaluated inside vm2 can break out of the sandbox boundary and achieve host-level code execution.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
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.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A critical vm2 sandbox escape vulnerability that bypasses Promise species protections to execute commands on the host.
A critical vm2 patch-bypass vulnerability for CVE-2023-37466 that enables sandbox escape through the species property of promise objects and arbitrary command execution on the host.
A sandbox escape vulnerability in vm2 for Node.js that allows attackers to bypass an insufficient prior fix and execute arbitrary commands on the host system.
A critical sandbox escape vulnerability in the vm2 Node.js package that allows arbitrary command execution on the host system due to an incomplete fix for a prior Promise species sanitization issue.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.