Intel

AIKIDO-2026-10727

vm2 is vulnerable to Protection Mechanism Failure

Protection Mechanism FailureGHSA-wp5r-2gw5-m7q7 Published May 4, 2026

53

Medium Risk

This Affects:

JSvm2
0.0.1 - 3.10.5
Fixed in 3.11.0
Are you affected? Scan for Free

TL;DR

The code transformer’s fast path can be bypassed using with, internal state naming, and certain unicode-escaped identifier shapes. That exposes a privileged internal state name to guest-transformed code. Attackers use that exposure as a pivot into broader sandbox weaknesses. The transformer and identifier handling are hardened so internal state cannot be reached through these syntax tricks.

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.10.5.

How to fix this

Upgrade the vm2 library to the patch version.