Critical severity9.9GHSA Advisory· Published Aug 17, 2026· Updated Sep 9, 2026
CVE-2026-47686
CVE-2026-47686
Description
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
vm2npm | < 3.11.6 | 3.11.6 |
Affected products
1- Range: <= 3.11.5
Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.