Improper Control of Dynamically-Managed Code Resources in vm2 - CVE-2026-92935

 

Improper Control of Dynamically-Managed Code Resources in vm2 - CVE-2026-92935

Published: August 25, 2026 / Updated: September 18, 2026


Vulnerability identifier: #VU145039
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-92935
CWE-ID: CWE-913
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

vm2

How to mitigate CVE-2026-92935

Install security update from vendor's website.

vm2 - update to 3.11.7

External References

Related Security Bulletins