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.
References
Configurations
No configuration.
History
17 Sep 2026, 14:18
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-09-17 14:17
Updated : 2026-09-17 14:18
NVD link : CVE-2026-92946
Mitre link : CVE-2026-92946
CVE.ORG link : CVE-2026-92946
JSON object : View
Products Affected
No product.
CWE
CWE-913
Improper Control of Dynamically-Managed Code Resources
