CVE-2026-45411: Vulnerability in Vm2 Project Vm2

Critical. 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...

npm, CWE-668, CWE-237

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-248r-7h7q-cr24
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-668, CWE-237
Published
13 May 2026
Last change
26 Oct 2026
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • Vm2 Project Vm2 Before 3.11.3. Fixed in 3.11.3

Affected packages

Vulnerable version ranges and fixed releases

  • vm2 npm, Affected through 3.11.2. Fixed in 3.11.3

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related