---
id: GHSA-29x6-9qh5-83gg
title: >-
  Duplicate Advisory: NodeVM `require.external` without an explicit
  `require.root` grants unrestricted host filesystem access and full RCE
summary: >-
  Duplicate Advisory: NodeVM `require.external` without an explicit
  `require.root` grants unrestricted host filesystem access and full RCE
severity: critical
cvss: 10
cwe:
  - CWE-913
vendor: vm2
product: vm2
ecosystem: npm
affected:
  - vm2 <= 3.11.6
published: '2026-09-17'
updated: '2026-10-05'
sourceUpdated: '2026-10-05T22:34:44Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-29x6-9qh5-83gg'
references:
  - url: 'https://github.com/patriksimek/vm2/security/advisories/GHSA-j3hm-6rg5-mchv'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-92946'
  - url: >-
      https://www.vulncheck.com/advisories/vm2-before-3.11.7-remote-code-execution-via-require-external
  - url: 'https://github.com/advisories/GHSA-29x6-9qh5-83gg'
tags:
  - ghsa
  - npm
ingestedAt: '2026-10-05T22:35:24.742Z'
---

## Overview

## Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-j3hm-6rg5-mchv. This link is maintained to preserve external references.

## Original Description
vm2 before 3.11.7 contains a remote code execution vulnerability when require.external is enabled without an explicit require.root that excludes node_modules. Sandboxed code can require vm2's own package, instantiate an unrestricted NodeVM instance, and execute arbitrary host OS commands via child_process.

## Affected packages

- `vm2 <= 3.11.6`

## Remediation

Refer to the advisory for the patched release.
