CVE-2026-47686
vm2: Missing Error.cause Sanitization Enables VM2 Sandbox Escape to RCE
CVSS Score
9.9
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-693 |
| Vendor | patriksimek |
| Product | vm2 |
| Published | Aug 17, 2026 |
Stay Ahead of the Next One
Get instant alerts for patriksimek vm2
Be the first to know when new critical vulnerabilities affecting patriksimek vm2 are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
patriksimek / vm2
< 3.11.6