vm2 is vulnerable to Remote Code Execution (RCE)
100
Critical Risk
Attacker-controlled __proto__ assignments can mutate host prototypes through the vm2 bridge. That breaks isolation between the sandbox realm and the host JavaScript environment. Exploitation yields arbitrary code execution in the Node.js host process. The patch blocks host prototype mutation paths in sandbox setup and bridge code.
You are affected if you are using a version that falls within the vulnerable range.
vm2 is vulnerable to Remote Code Execution (RCE) in versions 3.0.0 - 3.11.3.
Upgrade the vm2 library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant