# CVE-2023-37903: Sandbox Escape in vm2

- 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): 4.21%, higher than 91% of CVEs (2026-12-01)
- Published: 2023-07-13T17:01:58.000Z
- Modified: 2026-07-08T08:14:39.876Z
- Also known as: GHSA-g644-9gfx-q4q4
- Related: CVE-2026-47137
- Weaknesses: CWE-78
- Assigned by: GitHub_M

## Description

vm2 is an open source vm/sandbox for Node.js. In vm2 for versions up to and including 3.9.19, Node.js custom inspect function allows attackers to escape the sandbox and run arbitrary code. This may result in Remote Code Execution, assuming the attacker has arbitrary code execution primitive inside the context of vm2 sandbox. There are no patches and no known workarounds. Users are advised to find an alternative software.

(As written by CVE List.)

## Affected

- patriksimek vm2: <= 3.9.19
- vm2 (npm): up to 3.9.19
- vm2_project vm2: up to 3.9.19

## 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://github.com/patriksimek/vm2/security/advisories/GHSA-g644-9gfx-q4q4> (vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20230831-0007/> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20241108-0002/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-37903> (advisory)
- <https://github.com/patriksimek/vm2> (package)
- <https://security.netapp.com/advisory/ntap-20230831-0007> (web)
- <https://security.netapp.com/advisory/ntap-20241108-0002> (web)

## Sources

- CVE List: [CVE-2023-37903](https://www.cve.org/CVERecord?id=CVE-2023-37903), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-g644-9gfx-q4q4](https://github.com/advisories/GHSA-g644-9gfx-q4q4), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2023-37903](https://nvd.nist.gov/vuln/detail/CVE-2023-37903), Public domain, modified 2026-06-17

---

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