Intel

AIKIDO-2026-10722

vm2 is vulnerable to Remote Code Execution

Remote Code ExecutionGHSA-947f-4v7f-x2v8 Published May 4, 2026

99

Critical Risk

This Affects:

JSvm2
3.10.5 - 3.10.5
Fixed in 3.11.0
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

vm2 is vulnerable to Remote Code Execution in versions 3.10.5 - 3.10.5.

How to fix this

Upgrade the vm2 library to the patch version.