{"id":"CVE-2026-47686","summary":"vm2: Missing Error.cause Sanitization Enables VM2 Sandbox Escape to RCE","details":"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.","aliases":["GHSA-m283-3h24-438v"],"modified":"2026-08-20T03:30:16.949951372Z","published":"2026-08-17T20:54:39.406Z","database_specific":{"cwe_ids":["CWE-693"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47686.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/patriksimek/vm2/releases/tag/3.11.6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47686.json"},{"type":"ADVISORY","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-m283-3h24-438v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47686"},{"type":"FIX","url":"https://github.com/patriksimek/vm2/commit/7e3faaf550f4ab975bf4cdde183fcec49b056d8e"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/patriksimek/vm2","events":[{"introduced":"0"},{"fixed":"7e3faaf550f4ab975bf4cdde183fcec49b056d8e"},{"fixed":"a5b31cd9c01b37139aa9c71df1c691a6d1b440f9"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.11.6"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v3.11.5","v3.11.4","v3.11.3","v3.11.2","v3.11.1","v3.11.0","v3.10.5","v3.10.4","v3.10.3","v3.10.2","v3.10.1","v3.10.0","3.9.19","3.9.18","3.9.17","3.9.16","3.9.15","3.9.14","3.9.13","3.9.12","3.9.11","3.9.10","3.9.9","3.9.8","3.9.7","3.9.6","3.9.5","3.9.4","3.9.3","v3.9.2","v3.9.1","v3.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47686.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}