CVE-2026-44006: 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 reach BaseHandler.getPrototypeOf, which can be used to get arbitrary prototypes. This vulnerability is fixed in 3.11.0.
AI Analysis
Technical Summary
vm2 versions before 3.11.0 contain a code injection vulnerability (CWE-94) due to improper control over the generation of code. Specifically, sandboxed code can reach BaseHandler.getPrototypeOf to obtain arbitrary prototypes, allowing an attacker to escape the sandbox and execute arbitrary code on the host. This vulnerability has a CVSS 3.1 score of 10.0 (critical) with network attack vector, no privileges required, no user interaction, and complete impact on confidentiality, integrity, and availability. The issue is fixed in vm2 version 3.11.0.
Potential Impact
An unauthenticated remote attacker who can submit code to the vm2 sandbox can exploit this vulnerability to escape the sandbox environment and execute arbitrary code on the host system. This leads to full compromise of confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
A fix is available in vm2 version 3.11.0. Users should upgrade to version 3.11.0 or later to remediate this vulnerability. No alternative mitigations are specified in the vendor advisory.
CVE-2026-44006: 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 reach BaseHandler.getPrototypeOf, which can be used to get arbitrary prototypes. This vulnerability is fixed in 3.11.0.
CVSS v3.1
Score 10.0critical
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
vm2 versions before 3.11.0 contain a code injection vulnerability (CWE-94) due to improper control over the generation of code. Specifically, sandboxed code can reach BaseHandler.getPrototypeOf to obtain arbitrary prototypes, allowing an attacker to escape the sandbox and execute arbitrary code on the host. This vulnerability has a CVSS 3.1 score of 10.0 (critical) with network attack vector, no privileges required, no user interaction, and complete impact on confidentiality, integrity, and availability. The issue is fixed in vm2 version 3.11.0.
Potential Impact
An unauthenticated remote attacker who can submit code to the vm2 sandbox can exploit this vulnerability to escape the sandbox environment and execute arbitrary code on the host system. This leads to full compromise of confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
A fix is available in vm2 version 3.11.0. Users should upgrade to version 3.11.0 or later to remediate this vulnerability. No alternative mitigations are specified in the vendor advisory.
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-44006","vendor":"Red Hat"}]
Threat ID: 6a04ba22cbff5d8610f482c8
Added to database: 05/13/2026, 17:51:30 UTC
Last enriched: 08/06/2026, 13:01:40 UTC
Last updated: 09/13/2026, 10:01:31 UTC
Views: 82
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.