{"id":"CVE-2026-47686","state":"PUBLISHED","title":"vm2: Missing Error.cause Sanitization Enables VM2 Sandbox Escape to RCE","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.","publishedAt":"2026-08-17T20:54:39.406Z","updatedAt":"2026-08-19T03:56:00.965Z","severity":{"score":9.9,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["patriksimek vm2"],"affected":[{"vendor":"patriksimek","product":"vm2","versions":[{"version":"< 3.11.6","status":"affected"}]}],"references":["https://github.com/patriksimek/vm2/security/advisories/GHSA-m283-3h24-438v","https://github.com/patriksimek/vm2/commit/7e3faaf550f4ab975bf4cdde183fcec49b056d8e","https://github.com/patriksimek/vm2/releases/tag/3.11.6"],"weaknesses":["CWE-693"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/47xxx/CVE-2026-47686.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47686","state":"PUBLISHED","datePublished":"2026-08-17T20:54:39.406Z","dateUpdated":"2026-08-19T03:56:00.965Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-19T21:18:20.403Z"},"containers":{"cna":{"title":"vm2: Missing Error.cause Sanitization Enables VM2 Sandbox Escape to RCE","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"patriksimek","product":"vm2","versions":[{"version":"< 3.11.6","status":"affected"}]}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-m283-3h24-438v","name":"https://github.com/patriksimek/vm2/security/advisories/GHSA-m283-3h24-438v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/patriksimek/vm2/commit/7e3faaf550f4ab975bf4cdde183fcec49b056d8e","name":"https://github.com/patriksimek/vm2/commit/7e3faaf550f4ab975bf4cdde183fcec49b056d8e","tags":["x_refsource_MISC"]},{"url":"https://github.com/patriksimek/vm2/releases/tag/3.11.6","name":"https://github.com/patriksimek/vm2/releases/tag/3.11.6","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-693","lang":"en","description":"CWE-693: Protection Mechanism Failure","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-17T20:54:39.406Z"},"source":{"advisory":"GHSA-m283-3h24-438v","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-18T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-47686"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-19T03:56:00.965Z"}}]}}}