CVE-2026-92946
vm2 before 3.11.7 contains a remote code execution vulnerability when require.external is enabled without an explicit require.root that excludes nodemodules. Sandboxed code can require vm2's own package, instantiate an unrestricted NodeVM instance, and execute arbitrary host OS commands via childprocess.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92946.json, https://github.com/patriksimek/vm2/security/advisories/GHSA-j3hm-6rg5-mchv, https://nvd.nist.gov/vuln/detail/CVE-2026-92946, https://www.vulncheck.com/advisories/vm2-before-3.11.7-remote-code-execution-via-require-external