Uncaught Exception Affecting vm2 package, versions >=3.10.0 <3.11.8


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% (40th 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 Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-VM2-20043651
  • published22 Sept 2026
  • disclosed17 Sept 2026
  • creditRex Liu

Introduced: 17 Sep 2026

NewCVE-2026-92954  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade vm2 to version 3.11.8 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 Uncaught Exception in the handling of Promises returned from the host realm into the sandbox. An attacker can cause the host process to terminate unexpectedly by invoking a host function that returns a rejected Promise and ignoring the return value, which leaves the host Promise unhandled and triggers Node.js's default unhandled-rejection behavior.

CVSS Base Scores

version 4.0
version 3.1