{"id":"CVE-2026-92954","published":"2026-09-17T14:18:01.320","lastModified":"2026-09-21T18:17:15.997","description":"vm2 is a sandbox library for running untrusted JavaScript in Node.js. In versions >= 3.10.0 and <= 3.11.7, Promises returned from the host realm into the sandbox are not marked as handled at the bridge boundary; only Promises created inside the sandbox are wrapped with a rejection-swallowing handler (lib/setup-sandbox.js), and the bridge only installs host-side rejection sanitizers when sandbox code calls .then/.catch/.finally. As a result, code running in the sandbox can invoke a host function that returns a rejected Promise (for example events.once() exposed via the NodeVM events builtin, or any embedder-provided Promise-returning API) and simply ignore the return value, leaving the host Promise unhandled so that Node.js's default unhandled-rejection behavior terminates the host process. This is an incomplete fix of GHSA-hw58-p9xv-2mjh. The issue is fixed in version 3.11.8.","cvssScore":8.6,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","cwes":["CWE-248"],"vendors":[],"products":[],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-gjq8-xm47-88rc","tags":[]},{"url":"https://www.vulncheck.com/advisories/vm2-3.10.0-through-3.11.5-denial-of-service-via-host-promise","tags":[]},{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-gjq8-xm47-88rc","tags":[]}],"exploitRefs":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-gjq8-xm47-88rc","tags":[]},{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-gjq8-xm47-88rc","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows code running in the sandbox to ignore rejected Promises from the host realm, potentially leading to unhandled rejections and process termination in Node.js.","exploitability":"Exploitation requires the sandboxed code to interact with host APIs that return rejected Promises, which may be difficult to achieve without specific access.","blast_radius":"If exploited, it could cause the host Node.js process to terminate unexpectedly, impacting the stability of the application or system.","remediation":"Upgrade to vm2 version 3.11.8 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["nodejs","vm2","promise","unhandled-rejection"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-02T08:48:59.605Z"}}