{"id":"CVE-2026-47686","published":"2026-08-17T20:54:39Z","modified":"2026-08-19T03:56:00Z","title":"vm2: Missing Error.cause Sanitization Enables VM2 Sandbox Escape to RCE","vendor":"patriksimek","product":"vm2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00581,"percentile":0.48688,"provenance":"source"},"cwes":[{"id":"CWE-693","name":"Protection Mechanism Failure"}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-m283-3h24-438v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/patriksimek/vm2/commit/7e3faaf550f4ab975bf4cdde183fcec49b056d8e","tags":["x_refsource_MISC"]},{"url":"https://github.com/patriksimek/vm2/releases/tag/3.11.6","tags":["x_refsource_MISC"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":9.74},{"name":"CVSS severity","points":6.93}]},"vendorSlug":"patriksimek","affectedVersions":[{"vendor":"patriksimek","product":"vm2","versions":["< 3.11.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-18T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"vm2","vulnerableRanges":["<3.11.6"],"patched":["3.11.6"],"from":["GHSA-m283-3h24-438v"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-60460","exploited":false,"provenance":"source"}}