p PatchFirst

CVE-2026-47686

CVE-2026-47686 · vm2: Missing Error.cause Sanitization Enables VM2 Sandbox Escape to RCE

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 9.9 · Critical · EPSS 0.6% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • vm2

    Versions
    • < 3.11.6: Affected

    No fix published

  • vm2 npm

    Affected ranges
    • SEMVER: < 3.11.6

    Update to 3.11.6

Original sources

Check your server →