CVE-2026-43997: CWE-94: Improper Control of Generation of Code ('Code Injection') in patriksimek vm2
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, it is possible to obtain the host Object. There are various ways to use the host Object, to escape the sandbox, one example would be using HostObject.getOwnPropertySymbols to obtain Symbol(nodejs.util.inspect.custom). This vulnerability is fixed in 3.11.0.
AI Analysis
Technical Summary
CVE-2026-43997 describes a critical code injection vulnerability (CWE-94) in the open source Node.js sandbox vm2. Versions prior to 3.11.0 allow attackers to obtain the host Object, enabling sandbox escape. One exploitation method involves using HostObject.getOwnPropertySymbols to access Symbol(nodejs.util.inspect.custom). This vulnerability is resolved in vm2 version 3.11.0. The CVSS v3.1 base score is 10.0, indicating network attack vector, no privileges or user interaction required, and complete confidentiality, integrity, and availability impact.
Potential Impact
Successful exploitation allows an attacker to escape the vm2 sandbox and gain access to the host environment, potentially leading to full compromise of the Node.js host application. The vulnerability impacts confidentiality, integrity, and availability at the highest level.
Mitigation Recommendations
Upgrade vm2 to version 3.11.0 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is documented. Patch status is confirmed fixed in 3.11.0 according to the description and vendor advisory.
CVE-2026-43997: CWE-94: Improper Control of Generation of Code ('Code Injection') in patriksimek vm2
Description
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, it is possible to obtain the host Object. There are various ways to use the host Object, to escape the sandbox, one example would be using HostObject.getOwnPropertySymbols to obtain Symbol(nodejs.util.inspect.custom). This vulnerability is fixed in 3.11.0.
CVSS v3.1
Score 10.0critical
Affected software
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
CVE-2026-43997 describes a critical code injection vulnerability (CWE-94) in the open source Node.js sandbox vm2. Versions prior to 3.11.0 allow attackers to obtain the host Object, enabling sandbox escape. One exploitation method involves using HostObject.getOwnPropertySymbols to access Symbol(nodejs.util.inspect.custom). This vulnerability is resolved in vm2 version 3.11.0. The CVSS v3.1 base score is 10.0, indicating network attack vector, no privileges or user interaction required, and complete confidentiality, integrity, and availability impact.
Potential Impact
Successful exploitation allows an attacker to escape the vm2 sandbox and gain access to the host environment, potentially leading to full compromise of the Node.js host application. The vulnerability impacts confidentiality, integrity, and availability at the highest level.
Mitigation Recommendations
Upgrade vm2 to version 3.11.0 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is documented. Patch status is confirmed fixed in 3.11.0 according to the description and vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-04T20:24:31.917Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-43997","vendor":"Red Hat"}]
Threat ID: 6a04ba1fcbff5d8610f48250
Added to database: 05/13/2026, 17:51:27 UTC
Last enriched: 07/15/2026, 09:19:50 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 64
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.