Skip to main content
← All vulnerabilities
CVE-2026-47686GHSA-M283-3H24-438V

vm2: Missing Error.cause Sanitization Enables VM2 Sandbox Escape to RCE

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.11.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • patriksimek vm2

    fixed in 3.11.6

  • vm2npm

    fixed in 3.11.6

References 3

GitHub · patriksimek/vm2