# CVE-2022-36067: vm2 vulnerable to Sandbox Escape before v3.9.11

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A: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): 48.4%, higher than 98% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-09-06T00:00:00.000Z
- Modified: 2026-06-17T04:52:50.880Z
- Also known as: GHSA-mrgp-mrhc-5jrq
- Weaknesses: CWE-913
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. In versions prior to version 3.9.11, a threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.11 of vm2. There are no known workarounds.

(As written by CVE List.)

## Affected

- patriksimek vm2: < 3.9.11
- vm2 (npm): before 3.9.11
- vm2_project vm2: before 3.9.11

## Every score

- GitHub_M: 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`
- NVD: 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/blob/master/lib/setup-sandbox.js#L71> (exploit, third-party-advisory, web)
- <https://www.oxeye.io/blog/vm2-sandbreak-vulnerability-cve-2022-36067> (exploit, third-party-advisory, web)
- <https://github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrq> (patch, third-party-advisory, web)
- <https://github.com/patriksimek/vm2/issues/467> (issue-tracking, third-party-advisory, web)
- <https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164> (patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20221017-0002/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-36067> (advisory)
- <https://github.com/patriksimek/vm2> (package)
- <https://security.netapp.com/advisory/ntap-20221017-0002> (web)

## Sources

- CVE List: [CVE-2022-36067](https://www.cve.org/CVERecord?id=CVE-2022-36067), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-mrgp-mrhc-5jrq](https://github.com/advisories/GHSA-mrgp-mrhc-5jrq), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-36067](https://nvd.nist.gov/vuln/detail/CVE-2022-36067), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-36067 · Whole record: https://cve.day/CVE-2022-36067.json · Rebuilt by cve.day 2026-11-25T22:58:14.741Z
