Intel

AIKIDO-2026-592177

vm2 is vulnerable to Improper Access Control

Improper Access ControlGHSA-8686-vhfx-7r3j Published Aug 26, 2026

99

Critical Risk

This Affects:

JSvm2
0.0.1 - 3.11.6
Fixed in 3.11.7
Are you affected? Scan for Free

TL;DR

Negative builtin denials written with the node: prefix are not enforced because the sandbox strips the prefix before loading builtins while the denial list matches only the canonical name. A denial such as -node:child_process therefore never matches. Sandboxed code requires the canonical child_process module and reaches command-execution APIs that were meant to be blocked. The fix normalizes builtin names so prefixed denials are enforced.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you rely on a negative builtin denylist entry written with the node: prefix.

Background info

vm2 is vulnerable to Improper Access Control in versions 0.0.1 - 3.11.6.

How to fix this

Upgrade the vm2 library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform