CVE-2026-44008: CWE-668: Exposure of Resource to Wrong Sphere in patriksimek vm2
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.2, the new method neutralizeArraySpeciesBatch works with objects from the other side but can call into this side via getter on the array prototype exposing objects of the wrong side into the sandbox. This can be used to get host objects and get the host Function object. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This vulnerability is fixed in 3.11.2.
AI Analysis
Technical Summary
The vm2 Node.js sandbox prior to version 3.11.2 contains a vulnerability in the neutralizeArraySpeciesBatch method that allows cross-realm array prototype getter invocation. This flaw exposes host objects, including the host Function object, inside the sandbox environment. An unauthenticated remote attacker able to submit sandboxed code can exploit this to escape the sandbox and execute arbitrary commands on the host. The vulnerability is tracked as CVE-2026-44008 with a CVSS 3.1 base score of 9.8 (critical). The issue is fixed in vm2 version 3.11.2. Red Hat advisories confirm the vulnerability and the fix in 3.11.2, with no known exploits in the wild.
Potential Impact
Successful exploitation allows an attacker to escape the vm2 sandbox and execute arbitrary code on the host system with the privileges of the sandboxed environment. This results in full confidentiality, integrity, and availability impact on the host system. The vulnerability requires no privileges or user interaction and can be exploited remotely by submitting malicious sandboxed code.
Mitigation Recommendations
A fix is available in vm2 version 3.11.2. Users should upgrade to vm2 3.11.2 or later to remediate this vulnerability. No alternative mitigations are specified by the vendor advisory. Since this is a code execution vulnerability due to sandbox escape, upgrading is the recommended and effective remediation.
CVE-2026-44008: CWE-668: Exposure of Resource to Wrong Sphere in patriksimek vm2
Description
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.2, the new method neutralizeArraySpeciesBatch works with objects from the other side but can call into this side via getter on the array prototype exposing objects of the wrong side into the sandbox. This can be used to get host objects and get the host Function object. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This vulnerability is fixed in 3.11.2.
CVSS v3.1
Score 9.8critical
Affected software
patriksimek
vm2
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vm2 Node.js sandbox prior to version 3.11.2 contains a vulnerability in the neutralizeArraySpeciesBatch method that allows cross-realm array prototype getter invocation. This flaw exposes host objects, including the host Function object, inside the sandbox environment. An unauthenticated remote attacker able to submit sandboxed code can exploit this to escape the sandbox and execute arbitrary commands on the host. The vulnerability is tracked as CVE-2026-44008 with a CVSS 3.1 base score of 9.8 (critical). The issue is fixed in vm2 version 3.11.2. Red Hat advisories confirm the vulnerability and the fix in 3.11.2, with no known exploits in the wild.
Potential Impact
Successful exploitation allows an attacker to escape the vm2 sandbox and execute arbitrary code on the host system with the privileges of the sandboxed environment. This results in full confidentiality, integrity, and availability impact on the host system. The vulnerability requires no privileges or user interaction and can be exploited remotely by submitting malicious sandboxed code.
Mitigation Recommendations
A fix is available in vm2 version 3.11.2. Users should upgrade to vm2 3.11.2 or later to remediate this vulnerability. No alternative mitigations are specified by the vendor advisory. Since this is a code execution vulnerability due to sandbox escape, upgrading is the recommended and effective remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-04T21:24:36.505Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-44008","vendor":"Red Hat"}]
Threat ID: 6a04ba22cbff5d8610f482cf
Added to database: 05/13/2026, 17:51:30 UTC
Last enriched: 08/06/2026, 13:02:18 UTC
Last updated: 09/14/2026, 22:01:34 UTC
Views: 89
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.