Intel

AIKIDO-2026-172775

vm2 is vulnerable to Information Disclosure

Information DisclosureGHSA-h85j-hv3c-qfgq Published Aug 26, 2026

100

Critical Risk

This Affects:

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

TL;DR

The default builtin loader exposes the host https.globalAgent, a process-global event emitter, to sandboxed code through a read-only proxy that is insufficient for shared singletons. When https is granted, sandboxed code subscribes to https.globalAgent connection events to capture host request options and attaches listeners to released sockets. This exposes Authorization, Cookie, and API-key headers and plaintext TLS responses from host requests. The fix replaces host-singleton exposure with sandbox-local module facades and Agent instances.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you grant the sandbox access to the https builtin.

Background info

vm2 is vulnerable to Information Disclosure in versions 3.11.3 - 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