Arbitrary Code Injection Affecting vm2 package, versions >=3.11.6 <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
1.03% (63rd 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 Arbitrary Code Injection vulnerabilities in an interactive lesson.

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

Introduced: 17 Sep 2026

NewCVE-2026-92937  (opens in a new tab)
CWE-94  (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 Arbitrary Code Injection in the handling of rejected host Promises via call or apply indirection. An attacker can execute arbitrary commands with the privileges of the host process by obtaining a proxy to a host object exposed through a rejected Promise containing a non-primitive property referencing a host object.

CVSS Base Scores

version 4.0
version 3.1