Improper access control in vm2 - #VU129584

 

Improper access control in vm2 - #VU129584

Published: May 4, 2026


Vulnerability identifier: #VU129584
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: N/A
CWE-ID: CWE-284
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 escape the sandbox and modify host objects.

The vulnerability exists due to improper access control in the vm2 bridge when processing attacker-controlled JavaScript in a default VM or inherited NodeVM. A remote attacker can mutate shared host intrinsic prototypes to escape the sandbox and modify host objects.

The issue involves mutable proxies to host-realm intrinsic prototypes, including Object.prototype, Array.prototype, and Function.prototype.


Remediation

Install security update from vendor's website.

Sources