Information Exposure Affecting vm2 package, versions >=3.11.0 <3.11.7


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.46% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Information Exposure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-VM2-20043641
  • published22 Sept 2026
  • disclosed17 Sept 2026
  • creditoran-s

Introduced: 17 Sep 2026

NewCVE-2026-92936  (opens in a new tab)
CWE-209  (opens in a new tab)

How to fix?

Upgrade vm2 to version 3.11.7 or higher.

Overview

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules.

Affected versions of this package are vulnerable to Information Exposure via the error stack formatting process. An attacker can obtain absolute host filesystem paths, including those from Node.js internals and the embedding application's source tree, by triggering a SyntaxError in sandboxed code and accessing the .stack property, which is forwarded to the host-realm formatter without proper redaction.

CVSS Base Scores

version 4.0
version 3.1