Critical Isolated-vm Vulnerability Leads to RCE on Host
The type confusion bug can lead to V8 sandbox escape and control-flow hijacking of the host process. The post Critical Isolated-vm Vulnerability Leads to RCE on Host appeared first on SecurityWeek .
AI Analysis
Technical Summary
The isolated-vm Node.js library provides isolated V8 JavaScript engine instances (Isolates) for sandboxed code execution. A type confusion bug in the ExternalCopy constructor, which serializes and transfers data between Isolates, arises from iterating a transferList JavaScript array twice, where the second iteration trusts the first. Because the array elements are getters returning different values on each iteration, this creates a TOCTOU vulnerability allowing dereferencing of attacker-controlled pointers. Although ExternalCopy is host-accessible only, a guest can manipulate ivm.Reference to craft a malicious transferList and trigger the bug. Exploitation can crash the host process or hijack its control flow, enabling remote code execution. The vulnerability stems from unsafe native C++ glue code handling raw V8 handles and backing-store pointers. Official patches in versions 6.2.0 and 7.0.1 prevent user JavaScript execution during copying, mitigating the issue.
Potential Impact
Exploitation of this vulnerability can lead to denial-of-service via host process crashes or full remote code execution on the host system. This compromises the isolation guarantees of the V8 sandbox, allowing attackers to escape the sandbox and execute arbitrary code with host privileges.
Mitigation Recommendations
Patches are available and should be applied by upgrading isolated-vm to version 6.2.0 or later, or 7.0.1 or later. These updates prevent user JavaScript from running during the copy operation, mitigating the vulnerability. Users running untrusted code in an isolate and sharing any Reference into it are affected and should update promptly.
Critical Isolated-vm Vulnerability Leads to RCE on Host
Description
The type confusion bug can lead to V8 sandbox escape and control-flow hijacking of the host process. The post Critical Isolated-vm Vulnerability Leads to RCE on Host appeared first on SecurityWeek .
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The isolated-vm Node.js library provides isolated V8 JavaScript engine instances (Isolates) for sandboxed code execution. A type confusion bug in the ExternalCopy constructor, which serializes and transfers data between Isolates, arises from iterating a transferList JavaScript array twice, where the second iteration trusts the first. Because the array elements are getters returning different values on each iteration, this creates a TOCTOU vulnerability allowing dereferencing of attacker-controlled pointers. Although ExternalCopy is host-accessible only, a guest can manipulate ivm.Reference to craft a malicious transferList and trigger the bug. Exploitation can crash the host process or hijack its control flow, enabling remote code execution. The vulnerability stems from unsafe native C++ glue code handling raw V8 handles and backing-store pointers. Official patches in versions 6.2.0 and 7.0.1 prevent user JavaScript execution during copying, mitigating the issue.
Potential Impact
Exploitation of this vulnerability can lead to denial-of-service via host process crashes or full remote code execution on the host system. This compromises the isolation guarantees of the V8 sandbox, allowing attackers to escape the sandbox and execute arbitrary code with host privileges.
Mitigation Recommendations
Patches are available and should be applied by upgrading isolated-vm to version 6.2.0 or later, or 7.0.1 or later. These updates prevent user JavaScript from running during the copy operation, mitigating the vulnerability. Users running untrusted code in an isolate and sharing any Reference into it are affected and should update promptly.
Technical Details
- Classification
- {"confidence":0.75,"severitySource":"heuristic","classifier":"rss-v2"}
- Article Source
- {"url":"https://www.securityweek.com/critical-isolated-vm-vulnerability-leads-to-rce-on-host/","fetched":true,"fetchedAt":"2026-08-21T12:37:11.442Z","wordCount":1147}
Threat ID: 6a884677acd9273b49230117
Added to database: 08/21/2026, 12:37:11 UTC
Last enriched: 08/21/2026, 12:37:21 UTC
Last updated: 08/21/2026, 23:50:12 UTC
Views: 23
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.