---
id: CVE-2026-44007
title: vm2 is an open source vm/sandbox for Node.js
summary: >-
  vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.1, when a NodeVM
  is created with nesting: true, sandbox code can unconditionally require('vm2')
  regardless of the outer VM's require configuration — including require: false.
  Wi…
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-284
  - CWE-1100
vendor: vm2_project
product: vm2
affected:
  - vm2 < 3.11.1
patched:
  - vm2 3.11.1
published: '2026-05-13'
updated: '2026-08-06'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-44007'
references:
  - url: 'https://github.com/patriksimek/vm2/security/advisories/GHSA-8hg8-63c5-gwmx'
    label: security-advisories@github.com
  - url: 'http://www.openwall.com/lists/oss-security/2026/05/05/11'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2026:50850'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-44007'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2477198'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44007.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
tags:
  - nvd
epss: 0.00612
epssPercentile: 0.47003
ingestedAt: '2026-08-06T13:59:37.891Z'
---

## Overview

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.1, when a NodeVM is created with nesting: true, sandbox code can unconditionally require('vm2') regardless of the outer VM's require configuration — including require: false. With access to vm2, the sandbox constructs a new inner NodeVM with its own unrestricted require settings and executes arbitrary OS commands on the host. Any application that runs untrusted code inside a NodeVM with nesting: true is fully compromised. This vulnerability is fixed in 3.11.1.

## Affected

- `vm2 < 3.11.1`

## Remediation

Upgrade past the affected range:

- `vm2 3.11.1`
