CVE-2026-47210 PUBLISHED

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

Assigner: GitHub_M
Reserved: 18.05.2026 Published: 12.06.2026 Updated: 12.06.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor patriksimek
Product vm2
Versions
  • Version < 3.11.4 is affected

References

Problem Types

  • CWE-913: Improper Control of Dynamically-Managed Code Resources CWE