Protection mechanism failure in vm2 - CVE-2026-92948
Published: August 25, 2026 / Updated: September 18, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code outside the sandbox.
The vulnerability exists due to protection mechanism failure in the NodeVM builtin module handling when processing sandboxed require calls and forwarding attacker-controlled execArgv to node:test.run(). A remote user can require the host node:test module via a doubled node: prefix and pass --eval JavaScript to a spawned Node process to execute arbitrary code outside the sandbox.
Exploitation requires Node.js 24 or newer and a NodeVM configuration that explicitly allows the node:test builtin.