Intel

AIKIDO-2026-10729

vm2 is vulnerable to Protection Mechanism Failure

Protection Mechanism FailureGHSA-2cm2-m3w5-gp2f Published May 4, 2026

53

Medium Risk

This Affects:

JSvm2
0.0.1 - 3.11.1
Fixed in 3.11.2
Are you affected? Scan for Free

TL;DR

An internal identifier used to keep vm2’s private state out of guest reach could still be referenced through computed property access on globalThis. That exposes a privileged name and weakens the separation between guest-visible globals and implementation details. Attackers can use it as a gadget in larger exploit chains. The implementation moves the binding out of globalThis reach so computed-key access cannot recover it.

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 Protection Mechanism Failure in versions 0.0.1 - 3.11.1.

How to fix this

Upgrade the vm2 library to the patch version.