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 Node's strict unhandled-rejection policy, is promoted to an uncaught exception that terminates the host process.
References
Configurations
No configuration.
History
28 Sep 2026, 14:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/patriksimek/vm2/security/advisories/GHSA-2v2p-6j97-cjg9 - |
27 Sep 2026, 02:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-09-27 02:17
Updated : 2026-09-28 14:17
NVD link : CVE-2026-100722
Mitre link : CVE-2026-100722
CVE.ORG link : CVE-2026-100722
JSON object : View
Products Affected
No product.
CWE
CWE-248
Uncaught Exception
