CVE-2026-92946
CRITICAL 10.0CVSS 4.0vm2: NodeVM `require.external` without an explicit `require.root` grants unrestricted host filesystem access and full RCE
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.
- Published
- 17 Sep 2026
- Last modified
- 5 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-913
- Also known as
- GHSA-j3hm-6rg5-mchv
- Sources
- NVDJSONOSV GHSA-j3hm-6rg5-mchvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | CRITICAL 10.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | vm2 | < 3.11.7 | 3.11.7 |
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-j3hm-6rg5-mchv · WEB
- https://www.vulncheck.com/advisories/vm2-before-3.11.7-remote-code-execution-via-require-external · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-92946 · ADVISORY
- https://github.com/patriksimek/vm2/commit/903017c8a1eae9aba947ec854468b48155e79f86 · WEB
- https://github.com/patriksimek/vm2 · PACKAGE
- https://github.com/patriksimek/vm2/releases/tag/v3.11.7 · WEB
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 17 Sep 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Oct 2026)