vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, a sandbox boundary violation in vm2 allows host object identity to cross into the sandbox through host Promise resolution. When a host-side Promise that resolves to a host object is exposed to the sandbox, the value delivered to the sandbox .then() callback preserves host identity. This allows the sandbox to interact with the host object directly, including performing identity checks using host-side WeakMap and mutating host object state from inside the sandbox. This behavior occurs because the Promise fulfillment wrapper uses ensureThis() instead of the stronger cross-realm conversion path (from() / proxy wrapping). If no prototype mapping is found, ensureThis() returns the original object. As a result, objects resolved by host Promises can cross the sandbox boundary without proper isolation. This vulnerability is fixed in 3.11.0.
References
| Link | Resource |
|---|---|
| https://github.com/patriksimek/vm2/security/advisories/GHSA-mpf8-4hx2-7cjg | Exploit Vendor Advisory |
| https://github.com/patriksimek/vm2/security/advisories/GHSA-mpf8-4hx2-7cjg | Exploit Vendor Advisory |
Configurations
History
14 May 2026, 15:35
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:* | |
| First Time |
Vm2 Project vm2
Vm2 Project |
|
| References | () https://github.com/patriksimek/vm2/security/advisories/GHSA-mpf8-4hx2-7cjg - Exploit, Vendor Advisory |
13 May 2026, 19:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/patriksimek/vm2/security/advisories/GHSA-mpf8-4hx2-7cjg - |
13 May 2026, 18:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-13 18:16
Updated : 2026-05-14 15:35
NVD link : CVE-2026-44000
Mitre link : CVE-2026-44000
CVE.ORG link : CVE-2026-44000
JSON object : View
Products Affected
vm2_project
- vm2
CWE
CWE-693
Protection Mechanism Failure
