Critical isolated-vm flaw allows JavaScript sandbox escape and host process takeover
A high-severity type confusion vulnerability has been disclosed in isolated-vm, a popular Node.js library used to run untrusted JavaScript in sandboxed environments. The flaw allows malicious guest code to exploit a double-read inconsistency in the ExternalCopy constructor's transferList getter, tricking C++ bindings into mishandling memory and hijacking the host process's control flow. Affected versions include isolated-vm 7.0.0 and below, as well as 6.x releases prior to 6.2.0, with platforms such as n8n, Activepieces, and Mastra AI among potentially impacted products. Successful exploitation can result in arbitrary code execution with host-level privileges, credential exposure, and full breakdown of the guest-host isolation boundary. Users are advised to upgrade to version 7.0.1 or 6.2.0 immediately, and to avoid passing ivm.Reference objects to untrusted code as a mitigation measure.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in