# CVE-2026-47131: vm2: Sandbox Escape

- 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): 0.76%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-29T17:33:58.000Z
- Modified: 2026-10-26T11:10:00.157Z
- Also known as: GHSA-v6mx-mf47-r5wg
- Weaknesses: CWE-913
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, by combining Buffer.call.call({}.__lookupGetter__, Buffer, "__proto__"), Buffer.call.call({}.__lookupSetter__, Buffer, "__proto__"), and Node.js's ERR_INVALID_ARG_TYPE Error, the host's TypeError constructor can be obtained, which allows the escape from the sandbox. This allows attackers to run arbitrary code. This issue has been patched in version 3.11.4.

(As written by CVE List.)

## Affected

- patriksimek vm2: < 3.11.4
- vm2 (npm): before 3.11.4

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

## References

- <https://github.com/patriksimek/vm2/security/advisories/GHSA-v6mx-mf47-r5wg> (exploit, web)
- <https://github.com/patriksimek/vm2/commit/27c525f4615e2b983f122e2bed327d810126f5c8> (web)
- <https://github.com/patriksimek/vm2/releases/tag/v3.11.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47131> (advisory)
- <https://github.com/patriksimek/vm2> (package)

## Sources

- CVE List: [CVE-2026-47131](https://www.cve.org/CVERecord?id=CVE-2026-47131), CVE Terms of Use, modified 2026-06-13
- GitHub Advisory Database: [GHSA-v6mx-mf47-r5wg](https://github.com/advisories/GHSA-v6mx-mf47-r5wg), CC-BY-4.0, modified 2026-06-12
- NVD: [CVE-2026-47131](https://nvd.nist.gov/vuln/detail/CVE-2026-47131), Public domain, modified 2026-10-26

---

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