Protection Mechanism Failure in vm2 - #VU129586
Published: May 4, 2026
vm2
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to a protection mechanism failure in the code transformer when processing sandboxed code that avoids the catch, import, and async keywords. A remote attacker can submit specially crafted code to disclose sensitive information.
The issue exposes the internal VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL object and bypasses the identifier check that is intended to block access to it.