Improper Control of Dynamically-Managed Code Resources Affecting vm2 package, versions <3.11.6


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.49% (41st 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-18912292
  • published18 Aug 2026
  • disclosed17 Aug 2026
  • creditXmiliaH, Charles Vosburgh, oran-s, Lương Nguyễn Ngọc Đình, Oleg, Nil Ash, Rex Liu, Luke Francis

Introduced: 17 Aug 2026

NewCVE-2026-47698  (opens in a new tab)
CWE-913  (opens in a new tab)

How to fix?

Upgrade vm2 to version 3.11.6 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 Improper Control of Dynamically-Managed Code Resources through the improper handling of dangerous host prototype mutators. An attacker can execute arbitrary commands on the host system by escaping the sandbox environment.

CVSS Base Scores

version 4.0
version 3.1