CyberRota Analysis
AI-GeneratedVersions 3.10.2 through 3.11.6 of vm2 are vulnerable due to a sandbox escape that allows attackers to bypass protections in Node.js 26, enabling arbitrary code execution. This is achieved by exploiting a flaw in the Promise.prototype.finally() method, which can be manipulated through an async function with a malicious Symbol.species. Organizations using affected versions of vm2 in their Node.js applications should prioritize immediate updates to mitigate this critical vulnerability.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
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.