CVE-2026-92946
10
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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| patriksimek | vm2 | 0 < 3.11.7 | affected |
| patriksimek | vm2 | 3.11.7 | unaffected |
Weaknesses
- CWE-913: Improper Control of Dynamically-Managed Code Resources
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: total
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-j3hm-6rg5-mchv
- https://www.vulncheck.com/advisories/vm2-before-3.11.7-remote-code-execution-via-require-external
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.