PT-2026-76816 · Npm · Vm2

CVE-2026-47686

·

Published

2026-08-17

·

Updated

2026-08-19

CVSS v3.1

9.9

Critical

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions vm2 versions prior to 3.11.6
Description In the handleException() function within lib/setup-sandbox.js, the software fails to sanitize the Error.cause property introduced in ES2022. While the function recursively sanitizes SuppressedError.error, SuppressedError.suppressed, and AggregateError.errors, it ignores Error.cause. This allows sandbox code to obtain a reference to a powerful host object, such as process, if an embedder-exposed host function throws an error with that object assigned to the cause variable. An attacker can leverage this reference to escape the sandbox and execute arbitrary commands on the host system.
Recommendations Update vm2 to version 3.11.6.

Exploit

Fix

Protection Mechanism Failure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-47686
GHSA-M283-3H24-438V

Affected Products

Vm2