Skip to content
9.9 Critical

CVE-2026-47686 vm2 is an open source vm/sandbox for Node.js

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.

Affected products and versions

Product Affected versions Fixed in
vm2 3.11 earliest → < 3.11.6 3.11.6

References

Timeline

  1. Published
  2. Last modified
The 77 CVEs of vm2 →
Track this CVE