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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | vm2 | 3.11.7 | GHSA-j3hm-6rg5-mchv |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- GitHub Security Advisory (GHSA-j3hm-6rg5-mchv) vendor-advisory
- VulnCheck Advisory: vm2 before 3.11.7 Remote Code Execution via require.external third-party-advisory