# CVE-2023-32314: Sandbox Escape

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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): 8.13%, higher than 94% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-05-15T19:46:32.834Z
- Modified: 2026-09-10T03:50:08.326Z
- Also known as: GHSA-whpj-8f3w-67p5
- Weaknesses: CWE-74
- 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 Node's built-in modules. A sandbox escape vulnerability exists in vm2 for versions up to and including 3.9.17. It abuses an unexpected creation of a host object based on the specification of `Proxy`. As a result 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.18` of `vm2`. Users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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://gist.github.com/arkark/e9f5cf5782dec8321095be3e52acf5ac> (exploit, third-party-advisory, web)
- <https://github.com/patriksimek/vm2/security/advisories/GHSA-whpj-8f3w-67p5> (vendor-advisory, web)
- <https://github.com/patriksimek/vm2/commit/d88105f99752305c5b8a77b63ddee3ec86912daf> (patch, web)
- <https://github.com/patriksimek/vm2/releases/tag/3.9.18> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-32314> (advisory)
- <https://github.com/patriksimek/vm2> (package)

## Sources

- CVE List: [CVE-2023-32314](https://www.cve.org/CVERecord?id=CVE-2023-32314), CVE Terms of Use, modified 2025-01-22
- GitHub Advisory Database: [GHSA-whpj-8f3w-67p5](https://github.com/advisories/GHSA-whpj-8f3w-67p5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-32314](https://nvd.nist.gov/vuln/detail/CVE-2023-32314), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-32314 · Whole record: https://cve.day/CVE-2023-32314.json · Rebuilt by cve.day 2026-11-25T22:58:24.171Z
