Protection mechanism failure in vm2 - CVE-2026-92944
Published: August 25, 2026 / Updated: September 18, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to protection mechanism failure in vm2 Promise hardening in lib/setup-sandbox.js when processing Promise.prototype.finally() on async-function Promises on Node.js 26. A remote attacker can execute crafted JavaScript inside a vm2 VM to execute arbitrary code.
The issue requires untrusted JavaScript execution inside a vm2 VM and affects the sandbox boundary by exposing the host Function constructor and process object.