CVE-2026-47135: CWE-693: Protection Mechanism Failure in patriksimek vm2
vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, Symbol.for override in setup-sandbox.js only intercepts 2 of 9 dangerous Node.js cross-realm symbols. Combined with the bridge's set/defineProperty/deleteProperty traps having no isDangerousCrossRealmSymbol key check, sandbox code can obtain real cross-realm symbols, write them to host objects, and control host-side behavior — verified with a full util.promisify hijack chain. This issue has been patched in version 3.11.4.
AI Analysis
Technical Summary
The vm2 Node.js sandbox prior to version 3.11.4 improperly handled Symbol.for overrides by intercepting only 2 of 9 dangerous cross-realm symbols. Additionally, the bridge's traps for set, defineProperty, and deleteProperty lacked checks for dangerous cross-realm symbols. This combination allowed sandboxed code to obtain real cross-realm symbols and write them to host objects, enabling control over host-side behavior. The vulnerability is classified as CWE-693 (Protection Mechanism Failure) and has a CVSS 3.1 score of 8.7 (high severity). It has been fixed in vm2 version 3.11.4.
Potential Impact
Exploitation allows sandboxed code to bypass intended isolation by accessing and manipulating real cross-realm symbols, potentially leading to full control over host-side behavior. This compromises the security boundary of the sandbox, enabling high-impact attacks such as hijacking host functions.
Mitigation Recommendations
Upgrade vm2 to version 3.11.4 or later where this vulnerability is patched. No other mitigation is indicated. Patch status is confirmed by the vendor advisory stating the issue is fixed in 3.11.4.
CVE-2026-47135: CWE-693: Protection Mechanism Failure in patriksimek vm2
Description
vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, Symbol.for override in setup-sandbox.js only intercepts 2 of 9 dangerous Node.js cross-realm symbols. Combined with the bridge's set/defineProperty/deleteProperty traps having no isDangerousCrossRealmSymbol key check, sandbox code can obtain real cross-realm symbols, write them to host objects, and control host-side behavior — verified with a full util.promisify hijack chain. This issue has been patched in version 3.11.4.
CVSS v3.1
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vm2 Node.js sandbox prior to version 3.11.4 improperly handled Symbol.for overrides by intercepting only 2 of 9 dangerous cross-realm symbols. Additionally, the bridge's traps for set, defineProperty, and deleteProperty lacked checks for dangerous cross-realm symbols. This combination allowed sandboxed code to obtain real cross-realm symbols and write them to host objects, enabling control over host-side behavior. The vulnerability is classified as CWE-693 (Protection Mechanism Failure) and has a CVSS 3.1 score of 8.7 (high severity). It has been fixed in vm2 version 3.11.4.
Potential Impact
Exploitation allows sandboxed code to bypass intended isolation by accessing and manipulating real cross-realm symbols, potentially leading to full control over host-side behavior. This compromises the security boundary of the sandbox, enabling high-impact attacks such as hijacking host functions.
Mitigation Recommendations
Upgrade vm2 to version 3.11.4 or later where this vulnerability is patched. No other mitigation is indicated. Patch status is confirmed by the vendor advisory stating the issue is fixed in 3.11.4.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-18T19:50:18.695Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2c1a23e617e2d8347eb1d1
Added to database: 6/12/2026, 2:39:31 PM
Last enriched: 6/12/2026, 2:55:50 PM
Last updated: 6/13/2026, 4:56:21 AM
Views: 12
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.
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.