CVE-2026-92946
vm2 before 3.11.7 Remote Code Execution via require.external
- State
- Published
- Severity
- 10.0 Critical
- Published
- Sep 17, 2026
- Updated
- Sep 17, 2026
- Reserved
- Sep 17, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 10.0 Critical | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | VulnCheck |
| 3.1 | 10.0 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-913 Improper Control of Dynamically-Managed Code Resources
Affected Products
| Product | Versions |
|---|---|
vm2patriksimek |
|
References
- GitHub Security Advisory (GHSA-j3hm-6rg5-mchv)vendor-advisory
- VulnCheck Advisory: vm2 before 3.11.7 Remote Code Execution via require.externalthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.