SB2026050492 - Improper access control in vm2
Published: May 4, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Improper access control (CVE-ID: N/A)
CWE-ID: CWE-284 - Improper Access Control
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote user to execute arbitrary OS commands on the host.
The vulnerability exists due to improper access control in the NodeVM module resolver when processing sandboxed code in a NodeVM configured with nesting: true. A remote privileged user can require the vm2 package from the sandbox and create a new inner NodeVM with attacker-controlled require settings to execute arbitrary OS commands on the host.
Exploitation requires the host to run untrusted or user-supplied code inside a NodeVM with nesting: true.
Remediation
Install update from vendor's website.