Intel

AIKIDO-2026-10839

vm2 is vulnerable to Protection Mechanism Failure

Protection Mechanism FailureGHSA-c4cf-2hgv-2qv6 Published May 19, 2026

86

High Risk

This Affects:

JSvm2
3.0.0 - 3.11.3
Fixed in 3.11.4
Are you affected? Scan for Free

TL;DR

The vm2 bridge set trap ignores the receiver when writing through proxies, so sandbox code can mutate host-side objects. That breaks the sandbox boundary and can be chained to run arbitrary code in the host Node.js process. Versions before the fix allow host writes from untrusted VM code. The patch enforces receiver-correct writes in lib/bridge.js.

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 3.0.0 - 3.11.3.

How to fix this

Upgrade the vm2 library to the patch version.