CVE-2026-47686
published critical CVSS 3.1 · 9.9vm2: Missing Error.cause Sanitization Enables VM2 Sandbox Escape to RCE
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| patriksimek | — | vm2< 3.11.6 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.9 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| patriksimek | vm2 | < 3.11.6 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-693 CWE-693: Protection Mechanism Failure
References
3Provider assertions
2GitHub_M · cna
vm2: Missing Error.cause Sanitization Enables VM2 Sandbox Escape to RCE
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 72ec5d8cb99110d529824227abe15bab86643c4d097b0e7894c4d6f918d10682
- Ingested
- 23 Sep 2026, 09:16:58 UTC
- Source record
- Official CVE record