---
id: CVE-2026-92933
title: vm2 is a sandbox for running untrusted Node.js code
summary: >-
  vm2 is a sandbox for running untrusted Node.js code. In versions <= 3.11.7,
  NodeVM exposes the host `util` module to the sandbox as an unfiltered shallow
  copy (`Object.assign({}, util)` in `defaultBuiltinLoaderUtil`), and the
  deprecated …
severity: medium
cvss: 5.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N'
cwe:
  - CWE-200
  - CWE-497
vendor: patriksimek
product: vm2
affected:
  - vm2 < 3.11.8
published: '2026-09-17'
updated: '2026-09-19'
sourceUpdated: '2026-09-19T03:17:18.310'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-92933'
references:
  - url: 'https://github.com/patriksimek/vm2/security/advisories/GHSA-r273-hxvj-fxhp'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/vm2-before-3.11.8-information-disclosure-via-util-getcallsites
    label: disclosure@vulncheck.com
  - url: 'https://github.com/patriksimek/vm2/security/advisories/GHSA-r273-hxvj-fxhp'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-92933.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-92933'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-92933'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-92933'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2536056'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
  - exploit-available
epss: 0.00271
epssPercentile: 0.19576
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-19T02:26:35.918711Z'
ingestedAt: '2026-09-17T14:19:30.982Z'
---

## Overview

vm2 is a sandbox for running untrusted Node.js code. In versions <= 3.11.7, NodeVM exposes the host `util` module to the sandbox as an unfiltered shallow copy (`Object.assign({}, util)` in `defaultBuiltinLoaderUtil`), and the deprecated `sys` builtin (an alias of host `util`) is exposed through the generic builtin loader. On Node.js >= 22.9 this hands sandboxed code `util.getCallSites()`, a programmatic stack-introspection API that returns the host process's full call stack, including absolute file paths, function names, and line numbers for vm2 bridge internals and the embedding application's entrypoint. This bypasses the host-frame redaction introduced for GHSA-v27g-jcqj-v8rw, which only applies to the `Error.prepareStackTrace` formatting channel. The issue is fixed in vm2 3.11.8.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Developer Hub, Self-service automation portal 2 · no fix planned: Red Hat Developer Hub, Self-service automation portal 2 · updated 2026-09-18 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-92933.json)
