Uncaught Exception in vm2 - #VU146044
Published: August 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncaught exception handling in the vm2 promise bridge when calling a host function that returns a rejected host promise and ignoring the returned value. A remote attacker can execute sandboxed code that invokes a host promise-returning API without attaching a rejection handler to cause a denial of service.
Exploitation requires the ability to run code in a vm2 sandbox and an exposed host promise-returning API, or a NodeVM configuration that permits the events builtin.