vm2 is vulnerable to Sandbox Escape
99
Critical Risk
When the node:sqlite builtin is allowed, the sandbox strips only a single node: prefix, so requesting node:node:sqlite resolves to the real host module past the read-only wrapper. The read-only wrapper also leaves dangerous callable capabilities intact. Sandboxed code instantiates DatabaseSync with extension loading enabled and calls loadExtension() on a bundled native library, causing the host process to load and execute native code. The fix corrects prefix normalization and removes the unsafe capabilities.
You are affected if you are using a version that falls within the vulnerable range and you allow the node:sqlite builtin in the sandbox.
vm2 is vulnerable to Sandbox Escape in versions 3.11.3 - 3.11.6.
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