CVE-2026-45411

Publish date: May 26, 2026
Severity
Critical
CVSS score
9.8
Package
npm@vm2
Affected versions
3.11.0+echo

VM2 suffers from a sandbox breakout vulnerability. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system.It is possible to catch a host exception using the `yield*` expression inside an async generator. When the generator is closed using the `return` function, the value is awaited on and exceptions thrown in the `then` call will be caught by the runtime and passed to the `yield*` iterator as the next value.Attackers can perform Remote Code Execution under the assumption that arbitrary code can be executed inside the context of a vm2 sandbox.