vm2: NodeVM builtin allowlist bypass via node:test.run() execArgv allows sandbox escape
What to do
- Upgrade to a fixed version: vm2 3.11.7.
- Redeploy and restart long-running processes so they load the fixed code.
Affected packages
vm2
- >= 3.9.6, <= 3.11.6
- 3.11.7
Check your project: npm ls vm2 --all