Intel

AIKIDO-2026-10730

vm2 is vulnerable to Remote Code Execution

Remote Code ExecutionGHSA-9qj6-qjgg-37qq Published May 4, 2026

98

Critical Risk

This Affects:

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

TL;DR

Bridge code that restores saved state could end up invoking user-defined Array.prototype accessors during batch neutralization work. A sandbox-installed setter on indexed Array.prototype entries can run attacker code at a sensitive time and pivot to host execution. The failure is accidental sandbox callback execution from bridge-internal containers. The fix avoids that path by using Reflect.defineProperty style operations that do not trigger those prototype setters in the same way.

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 Remote Code Execution in versions 0.0.1 - 3.11.1.

How to fix this

Upgrade the vm2 library to the patch version.