vm2 is vulnerable to Remote Code Execution
99
Critical Risk
NodeVM exposes a curated builtin allowlist, but host loading behavior can still be reached through module-family builtins and Module._load. Attackers abuse that passthrough to load capabilities that policy should deny. The issue is a policy bypass rather than a single missing string in a list. The update closes the passthrough so allowlists are enforced end-to-end.
You are affected if you are using a version that falls within the vulnerable range.
vm2 is vulnerable to Remote Code Execution in versions 3.10.5 - 3.10.5.
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.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant