Protection Mechanism Failure in vm2 - #VU131734

 

Protection Mechanism Failure in vm2 - #VU131734

Published: May 18, 2026


Vulnerability identifier: #VU131734
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: N/A
CWE-ID: CWE-693
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Patrik Simek
Affected software:
vm2

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code in the host process.

The vulnerability exists due to protection mechanism failure in the NodeVM builtin denylist in lib/builtin.js when exposing non-denied builtins to sandboxed code through require.builtin. A remote attacker can require the process or inspector/promises builtins to execute arbitrary code in the host process.

This affects applications that allow untrusted JavaScript to run inside NodeVM with process, inspector/promises, or the wildcard "*" permitted in require.builtin; it is not reachable with the default configuration where require is disabled or no affected builtins are allowed.


Remediation

Install security update from vendor's website.

Sources