Intel

AIKIDO-2026-970950

vm2 is vulnerable to Improper Access Control

Improper Access ControlGHSA-6rh5-qq4q-97xh Published Aug 26, 2026

85

High 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 are matched by exact module name rather than by module family, so a denial such as -fs blocks only fs and not its subpaths. Sandboxed code requires fs/promises or node:fs/promises to reach filesystem operations despite fs being denied. This allows host file creation and writes that the denylist was meant to prevent. The fix matches denied builtins across their module family.

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 such as -fs to block filesystem access.

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