Improper Control of Dynamically-Managed Code Resources in vm2 - CVE-2026-92935
Published: August 25, 2026 / Updated: September 18, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary commands on the host system.
The vulnerability exists due to improper control of dynamically-managed code resources in the NodeVM nesting guard and resolver handling when processing JavaScript in a NodeVM configured with truthy nesting and array-shaped require options. A remote attacker can supply crafted JavaScript that loads the host vm2 module, creates an inner NodeVM with an attacker-selected builtin allowlist, and execute arbitrary commands on the host system.
Exploitation is limited to applications that enable nesting and pass a malformed array-shaped require configuration.