CVE-2026-47210CWE-913

vm2 sandbox escape via JSPI-backed Promise `.finally()` species bypass

Critical · published June 12, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
56.9
In the wild
Unconfirmed
What it is

vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, a sandbox escape vulnerability in vm2 allows arbitrary code execution in the host process when untrusted code is executed with async support on runtimes exposing WebAssembly JSPI (WebAssembly.promising / WebAssembly.Suspending). In the tested configuration, a JSPI-backed Promise can reach Promise.prototype.finally() in a way that bypasses the expected Promise-species hardening and exposes a host-originated rejection object to attacker-controlled species logic, breaking the sandbox boundary. This issue has been patched in version 3.11.4.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00823 · 56.9th percentile
Weakness
CWE-913 · Improper Control of Dynamically-Managed Code Resources
Published
2026-06-12T14:17Z
EPSS history
Timeline
  • 12 JUN 14:17Z
    vm2 sandbox escape via JSPI-backed Promise `.finally()` species bypass
    cvelistv5