CVE-2026-47686 CRITICAL

CVE-2026-47686: vm2: Missing Error.cause Sanitization Enables VM2 Sandbox Escape to RCE

Vendor Patriksimek
Product vm2
Weakness CWE-693
Published August 17, 2026
Last update August 18, 2026

CVSS base score

9.9/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 17, 2026 CVE published
August 18, 2026 Record updated