# CVE-2026-47686: vm2: Missing Error.cause Sanitization Enables VM2 Sandbox Escape to RCE

- Severity: Critical 9.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/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.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-08-17T17:32:34.000Z
- Modified: 2026-10-23T16:10:00.313Z
- Also known as: GHSA-m283-3h24-438v
- Weaknesses: CWE-693
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, handleException() in lib/setup-sandbox.js sanitizes SuppressedError.error, SuppressedError.suppressed, and AggregateError.errors but does not sanitize Error.cause, allowing sandbox code to obtain a powerful host object such as process from an embedder-exposed host function that throws an error with that object as its cause and then execute arbitrary host commands. This issue is fixed in version 3.11.6.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/patriksimek/vm2/security/advisories/GHSA-m283-3h24-438v> (web)
- <https://github.com/patriksimek/vm2/commit/7e3faaf550f4ab975bf4cdde183fcec49b056d8e>
- <https://github.com/patriksimek/vm2/releases/tag/3.11.6> (web)
- <https://github.com/patriksimek/vm2> (package)

## Sources

- CVE List: [CVE-2026-47686](https://www.cve.org/CVERecord?id=CVE-2026-47686), CVE Terms of Use, modified 2026-08-19
- GitHub Advisory Database: [GHSA-m283-3h24-438v](https://github.com/advisories/GHSA-m283-3h24-438v), CC-BY-4.0, modified 2026-08-17
- NVD: [CVE-2026-47686](https://nvd.nist.gov/vuln/detail/CVE-2026-47686), Public domain, modified 2026-10-23

---

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