CVE-2026-45411

CRITICAL

vm2: Sandbox Breakout Using Async Generator

Title source: cna
STIX 2.1

Description

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.3, 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. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This vulnerability is fixed in 3.11.3.

References (1)

Core 1
Core References

Scores

CVSS v3 9.8
EPSS 0.0008
EPSS Percentile 23.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-668
Status published
Products (3)
npm/vm2 0 - 3.11.3npm
patriksimek/vm2 < 3.11.3
vm2_project/vm2 < 3.11.3
Published May 13, 2026
Tracked Since May 13, 2026