Protection Mechanism Failure Affecting vm2 package, versions >=3.10.1 <3.11.7


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.59% (46th 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 IDSNYK-JS-VM2-20043663
  • published22 Sept 2026
  • disclosed17 Sept 2026
  • creditthesmartshadow, zolbooo

Introduced: 17 Sep 2026

NewCVE-2026-92956  (opens in a new tab)
CWE-693  (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 Protection Mechanism Failure via the WebAssembly.compileStreaming and WebAssembly.instantiateStreaming functions. An attacker can gain access to the host process object and execute arbitrary code with host-level privileges by manipulating Symbol.species through Promise.prototype.finally, allowing traversal from a host error constructor to the host Function constructor. This enables access to sensitive host modules and capabilities in the context of the process running the sandbox. This is only exploitable if running on Node.js 26 with the default new VM() configuration.

CVSS Base Scores

version 4.0
version 3.1