CVE-2026-92957
9.9patriksimek · vm2
A sandbox bypass in vm2 allows untrusted code to escape isolation by bypassing NodeVM builtin deny-list policies, leading to arbitrary host command execution.
Executive summary
A critical sandbox escape vulnerability in the patriksimek vm2 library allows attackers to bypass security policies and achieve arbitrary code execution on the host system.
Vulnerability
This is an improper privilege management flaw (CWE-269) where NodeVM fails to normalize node-prefixed specifiers in deny-list policies. An authenticated user within the sandbox can leverage this flaw to access restricted host modules like child_process, effectively granting them full host command execution capabilities.
Business impact
The ability for sandboxed code to escape its environment and execute commands on the host poses a catastrophic risk to data integrity and system availability. Given the CVSS score of 9.9, this vulnerability represents an near-total compromise of the hosting infrastructure, potentially leading to unauthorized data access, lateral movement, or complete system takeover.
Remediation
Immediate Action: Upgrade the patriksimek vm2 library to version 3.11.7 or later to implement the required normalization logic for builtin specifiers.
Proactive Monitoring: Inspect application logs for attempts to instantiate NodeVM with suspicious require policies or calls to unauthorized child process modules within sandboxed environments.
Compensating Controls: If patching is delayed, isolate sandboxed processes within a secondary container or virtual machine with restricted system call privileges to limit the impact of a potential escape.
Exploitation status
Public Exploit Available: Unknown.
Analyst recommendation
This vulnerability is critical and demands immediate attention due to its potential for full host system compromise. Security teams should prioritize the update to vm2 version 3.11.7 across all development and production environments to neutralize the sandbox escape path and restore the integrity of the isolation boundary.
More patriksimek CVEs all →
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief critical section
Sources
Originally found and disclosed by nasaa0x, sangnigege, manus-use, per the CVE Program record.
- GitHub Security Advisory (GHSA-8686-vhfx-7r3j) Vendor advisory
- VulnCheck Advisory: vm2 before 3.11.7 Authentication Bypass via node: Prefix Third-party advisory