Description
vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, VM2 suffers from a sandbox breakout vulnerability. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This issue has been patched in version 3.11.4.
Published: 2026-06-12
Score: 10 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

vm2 is an open‑source sandbox for Node.js; before version 3.11.4 it contains a vulnerability that allows sandbox escape and arbitrary command execution on the host system. The flaw is a privilege escalation within the VM context, classified as CWE‑913, and can lead to full compromise of the host once an attacker can inject code into the sandbox.

Affected Systems

The affected product is vm2, built by patriksimek. Versions prior to 3.11.4 are vulnerable; the fix is delivered in release 3.11.4 and later.

Risk and Exploitability

The vulnerability scores a perfect CVSS of 10, indicating the highest level of severity, yet its EPSS score is below 1% and it is not yet listed in the CISA KEV catalog, suggesting a low exploitation probability at present. Because the flaw requires the attacker to execute code inside the vm2 sandbox, the likely attack vector is local or within a compromised application that creates VM instances. If exploited, the attacker would gain unrestricted access to the host, enabling further attacks.

Generated by OpenCVE AI on June 12, 2026 at 15:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update vm2 to version 3.11.4 or later.
  • If an immediate upgrade is not possible, disable or remove the use of Promise species features that trigger the vulnerability, tightening the sandbox configuration to reject those constructs.
  • Run the Node.js process that hosts the vm2 instance with restricted privileges, such as inside a container or with minimal OS permissions, to contain potential damage if bypass occurs.

Generated by OpenCVE AI on June 12, 2026 at 15:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-76w7-j9cq-rx2j vm2 is Vulnerable to Sandbox Breakout Through Promise Species
History

Fri, 12 Jun 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Patriksimek
Patriksimek vm2
Vendors & Products Patriksimek
Patriksimek vm2

Fri, 12 Jun 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 12 Jun 2026 14:30:00 +0000

Type Values Removed Values Added
Description vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, VM2 suffers from a sandbox breakout vulnerability. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This issue has been patched in version 3.11.4.
Title vm2: Sandbox Breakout Using Promise Species
Weaknesses CWE-913
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-12T15:08:40.162Z

Reserved: 2026-05-18T22:25:21.257Z

Link: CVE-2026-47208

cve-icon Vulnrichment

Updated: 2026-06-12T15:08:29.673Z

cve-icon NVD

Status : Deferred

Published: 2026-06-12T15:16:28.767

Modified: 2026-06-12T16:16:29.907

Link: CVE-2026-47208

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-12T15:30:31Z

Weaknesses
  • CWE-913

    Improper Control of Dynamically-Managed Code Resources