9.8Critical

CVE-2026-45411vm2: Sandbox Breakout Using Async Generator

patriksimek vm2; Red Hat Red Hat Ansible Automation Platform 2.1; Red Hat Red Hat Developer Hub Published: (6 months ago)

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.

Weakness (CWE): CWE-668CWE-237

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
patriksimek vm2 < 3.11.3
Red Hat Red Hat Ansible Automation Platform 2.1 all versions
Red Hat Red Hat Developer Hub —
vm2 project vm2 < 3.11.3

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:* < 3.11.3