CVE Vulnerabilities

CVE-2026-100722

Uncaught Exception

Published: Sep 27, 2026 | Modified: Sep 28, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
6.8 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H
Ubuntu
root.io logo minimus.io logo echo.ai logo

vm2 before 3.12.2 does not apply host-side Promise rejection handling in the sandbox-to-host construct trap. In BaseHandler, the apply trap calls markHostPromiseHandled() on the returned value, but the adjacent construct path returns the result of Reflect.construct without the same sanitization. If an embedder exposes a constructable host function whose constructor returns a native rejected Promise, an untrusted script executed via VM.run can invoke it with new and ignore the result; the rejected host Promise crosses the bridge unhandled and, under Nodes strict unhandled-rejection policy, is promoted to an uncaught exception that terminates the host process.

Weakness

An exception is thrown from a function, but it is not caught.

References