CVE-2026-47686
CRITICAL 9.9CVSS 3.1VM2 has Missing Error.cause Sanitization that Enables Sandbox Escape to RCE
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.
- Published
- 17 Aug 2026
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-693
- Also known as
- GHSA-m283-3h24-438v
- Sources
- NVDJSONOSV GHSA-m283-3h24-438vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | vm2 | < 3.11.6 | 3.11.6 |
References
- https://github.com/patriksimek/vm2/commit/7e3faaf550f4ab975bf4cdde183fcec49b056d8e
- https://github.com/patriksimek/vm2/releases/tag/3.11.6 · WEB
- https://github.com/patriksimek/vm2/security/advisories/GHSA-m283-3h24-438v · WEB
- https://github.com/patriksimek/vm2 · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 17 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 Aug 2026)