Vulnerability in Patriksimek Vm2

CVE-2026-47686

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.

CVSS v3 metric

CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-47686?
CVE-2026-47686 is a critical-severity vulnerability in Patriksimek Vm2, classified under Protection Mechanism Failure. CVSS score: 9.9/10. Published 2026-08-17.
How severe is CVE-2026-47686?
Critical severity. CVSS v3 base score is 9.9 out of 10.