Intel

AIKIDO-2026-759182

vm2 is vulnerable to Information Disclosure

Information DisclosureGHSA-x6m4-chr9-cg97 Published Yesterday

58

Medium Risk

This Affects:

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

TL;DR

vm2 formats error stacks on the host side and forwards .stack reads from the sandbox bridge back to sandboxed code without redaction. Passing malformed source to eval() triggers a host-side SyntaxError whose stack is returned to the sandbox. Sandboxed code reads absolute host filesystem paths, internal Node details, and embedding-application source locations even under default VM and NodeVM configurations. The fix redacts sensitive path information from stack formatting before it reaches the sandbox.

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 Information Disclosure in versions 3.11.0 - 3.11.6.

How to fix this

Upgrade the vm2 library to the patch version.