vm2 is vulnerable to Remote Code Execution (RCE)
100
CVE Score
Critical
Remote Code Execution (RCE)
The NodeVM builtin denylist omits process and inspector/promises. Sandboxed code that may load those builtins can call process.getBuiltinModule('child_process') or Runtime.evaluate via the inspector protocol. That bypasses intended builtin restrictions and executes code in the host process. The fix adds these modules to the dangerous builtin blocklist in lib/builtin.js.
Upgrade the vm2 library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
3.0.0 - 3.11.3
Fixed in 3.11.4vm2 is vulnerable to Remote Code Execution (RCE) in versions 3.0.0 - 3.11.3.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.