CVE-2026-47210: CWE-913: Improper Control of Dynamically-Managed Code Resources in patriksimek vm2
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.
AI Analysis
Technical Summary
CVE-2026-47210 is a critical vulnerability in the vm2 sandbox for Node.js, identified as CWE-913 (Improper Control of Dynamically-Managed Code Resources). The vulnerability arises when untrusted code executed with asynchronous support on runtimes exposing WebAssembly JSPI can escape the sandbox. Specifically, a JSPI-backed Promise can reach Promise.prototype.finally() in a manner that bypasses the expected Promise-species hardening, exposing a host-originated rejection object to attacker-controlled species logic. This breaks the sandbox boundary and allows arbitrary code execution in the host process. The vulnerability affects versions prior to 3.11.4 and has been fixed in version 3.11.4.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code in the host process, completely breaking the sandbox isolation. This results in full compromise of the host environment running vm2 with vulnerable versions. The CVSS score is 9.8 (critical), indicating high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade vm2 to version 3.11.4 or later, where this vulnerability has been patched. No other mitigations are indicated. Patch status is confirmed by the vendor advisory stating the fix in 3.11.4.
CVE-2026-47210: CWE-913: Improper Control of Dynamically-Managed Code Resources in patriksimek vm2
Description
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.
CVSS v3.1
Score 9.8critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-47210 is a critical vulnerability in the vm2 sandbox for Node.js, identified as CWE-913 (Improper Control of Dynamically-Managed Code Resources). The vulnerability arises when untrusted code executed with asynchronous support on runtimes exposing WebAssembly JSPI can escape the sandbox. Specifically, a JSPI-backed Promise can reach Promise.prototype.finally() in a manner that bypasses the expected Promise-species hardening, exposing a host-originated rejection object to attacker-controlled species logic. This breaks the sandbox boundary and allows arbitrary code execution in the host process. The vulnerability affects versions prior to 3.11.4 and has been fixed in version 3.11.4.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code in the host process, completely breaking the sandbox isolation. This results in full compromise of the host environment running vm2 with vulnerable versions. The CVSS score is 9.8 (critical), indicating high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade vm2 to version 3.11.4 or later, where this vulnerability has been patched. No other mitigations are indicated. Patch status is confirmed by the vendor advisory stating the fix in 3.11.4.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-18T22:25:21.257Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2c1a23e617e2d8347eb1f6
Added to database: 6/12/2026, 2:39:31 PM
Last enriched: 6/12/2026, 2:54:58 PM
Last updated: 6/13/2026, 4:56:20 AM
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.