# CVE-2021-23555: Sandbox Bypass

- Severity: Critical 9.8 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- 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): 2.88%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-11T20:00:14.189Z
- Modified: 2026-07-08T06:49:39.240Z
- Also known as: GHSA-6pw2-5hjv-9pf7, SNYK-JS-VM2-2309905
- Weaknesses: CWE-1321
- Assigned by: snyk

## Description

The package vm2 before 3.9.6 are vulnerable to Sandbox Bypass via direct access to host error objects generated by node internals during generation of a stacktraces, which can lead to execution of arbitrary code on the host machine.

(As written by CVE List.)

## Affected

- vm2: from unspecified before 3.9.6
- vm2 (npm): before 3.9.6
- vm2_project vm2: before 3.9.6

## Every score

- snyk: 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/E:P`
- 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 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://snyk.io/vuln/SNYK-JS-VM2-2309905> (exploit, patch, third-party-advisory, web)
- <https://github.com/patriksimek/vm2/commit/532120d5cdec7da8225fc6242e154ebabc63fe4d> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23555> (advisory)
- <https://github.com/patriksimek/vm2> (package)

## Sources

- CVE List: [CVE-2021-23555](https://www.cve.org/CVERecord?id=CVE-2021-23555), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-6pw2-5hjv-9pf7](https://github.com/advisories/GHSA-6pw2-5hjv-9pf7), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-23555](https://nvd.nist.gov/vuln/detail/CVE-2021-23555), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23555 · Whole record: https://cve.day/CVE-2021-23555.json · Rebuilt by cve.day 2026-11-25T22:58:06.951Z
