{"id":"CVE-2026-47210","published":"2026-06-12T14:17:22Z","modified":"2026-06-13T03:56:00Z","title":"vm2 sandbox escape via JSPI-backed Promise `.finally()` species bypass","vendor":"patriksimek","product":"vm2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01716,"percentile":0.77999,"provenance":"source"},"cwes":[{"id":"CWE-913","name":"Improper Control of Dynamically-Managed Code Resources"}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-6j2x-vhqr-qr7q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/patriksimek/vm2/commit/6915fa4d9bcebd47b9a4f39a1adc1aa94ef6ffc6","tags":["x_refsource_MISC"]},{"url":"https://github.com/patriksimek/vm2/releases/tag/v3.11.4","tags":["x_refsource_MISC"]}],"priority":{"score":22.5,"factors":[{"name":"EPSS percentile","points":15.6},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"patriksimek","affectedVersions":[{"vendor":"patriksimek","product":"vm2","versions":["< 3.11.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-06-12T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"vm2","vulnerableRanges":["<3.11.4"],"patched":["3.11.4"],"from":["GHSA-6j2x-vhqr-qr7q"],"provenance":"source"}],"summary":{"text":"A sandbox escape in vm2, the open-source Node.js vm/sandbox, lets untrusted code break out of the sandbox when it runs with async support on runtimes that expose WebAssembly JSPI, via a Promise .finally() species bypass. An attacker who can get untrusted code executed in that configuration can achieve arbitrary code execution in the host process, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:48:31Z"},"euvd":{"id":"EUVD-2026-36448","exploited":false,"provenance":"source"}}