Vulnerability · Published Sep 17, 2026 · Assigned by VulnCheck

CVE-2026-92946vm2 before 3.11.7 Remote Code Execution via require.external

Critical 10.0

In plain English

A critical-severity security flaw in vm2 from patriksimek. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)0.8%top 44.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

vm2 before 3.11.7 contains a remote code execution vulnerability when require.external is enabled without an explicit require.root that excludes node_modules. Sandboxed code can require vm2's own package, instantiate an unrestricted NodeVM instance, and execute arbitrary host OS commands via child_process.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmvm23.11.7GHSA-j3hm-6rg5-mchv

Affected products (as reported)

VendorProductVersions
patriksimek vm2 0 – before 3.11.7

Weakness: CWE-913 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

References