CVE-2026-47208

vm2: Sandbox Breakout Using Promise Species

Published Jun 12, 2026 CVSS 3.1 · 10 Critical EPSS 1.0% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
First Time appeared Patriksimek
Patriksimek vm2
Vendors & Products Patriksimek
Patriksimek vm2
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-913

    Improper Control of Dynamically-Managed Code Resources

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 13, 2026, 3:55 AM
Reserved
May 18, 2026, 10:25 PM
Status
Deferred
Published
Jun 12, 2026, 3:16 PM
Modified
Oct 26, 2026, 11:10 AM
Severity
Moderate
Public date
Jun 12, 2026, 2:16 PM