Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
WS-2026-0026
Published:August 17, 2026
Updated:August 19, 2026
vm2 NodeVM sandbox denylist omits the 'os' and 'dns' builtins. Under the documented builtin: ['*'] wildcard configuration, sandboxed code can read host-process state via os.userInfo() and os.networkInterfaces(), and hijack the host's DNS resolution process-wide via dns.setServers() - affecting every subsequent lookup made by the embedding host process. Fixed by adding os and dns to DANGEROUS_BUILTINS in lib/builtin.js.
Affected Packages
https://github.com/patriksimek/vm2.git (GITHUB):
Affected version(s) >=3.9.6 <3.11.6
Fix Suggestion:
Update to version 3.11.6
vm2 (NPM):
Affected version(s) >=0.1.0 <3.11.6
Fix Suggestion:
Update to version 3.11.6
Do you need more information?
Contact Us
CVSS v4
Base Score:
10
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
LOW
CVSS v3
Base Score:
10
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Exposure of Sensitive Information to an Unauthorized Actor