# CVE-2026-92946: vm2 before 3.11.7 Remote Code Execution via require.external

- Severity: Critical 10.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.78%, higher than 56% of CVEs (2026-12-01)
- Published: 2026-09-17T13:46:07.498Z
- Modified: 2026-10-05T22:45:04.556Z
- Also known as: GHSA-j3hm-6rg5-mchv
- Weaknesses: CWE-913
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- patriksimek vm2: before 3.11.7 (not affected: 3.11.7)
- vm2 (npm): before 3.11.7

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/patriksimek/vm2/security/advisories/GHSA-j3hm-6rg5-mchv> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/vm2-before-3.11.7-remote-code-execution-via-require-external> (third-party-advisory, 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)

## Sources

- CVE List: [CVE-2026-92946](https://www.cve.org/CVERecord?id=CVE-2026-92946), CVE Terms of Use, modified 2026-09-17
- GitHub Advisory Database: [GHSA-j3hm-6rg5-mchv](https://github.com/advisories/GHSA-j3hm-6rg5-mchv), CC-BY-4.0, modified 2026-10-05
- NVD: [CVE-2026-92946](https://nvd.nist.gov/vuln/detail/CVE-2026-92946), Public domain, modified 2026-09-17

---

Page: https://cve.day/CVE-2026-92946 · Whole record: https://cve.day/CVE-2026-92946.json · Rebuilt by cve.day 2026-11-25T22:59:39.247Z
