Performance Optimization Vulnerability in vm2 by Patrik Simek
CVE-2026-44003
5.3MEDIUM
What is CVE-2026-44003?
vm2, an open-source sandbox for Node.js, has a performance optimization flaw in its code transformer prior to version 3.11.0. This issue arises when the code does not contain catch, import, or async keywords, allowing sandboxed code to access the internal variable VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL. As a result, critical internal security functions like handleException, wrapWith, and import become exposed, potentially allowing unauthorized access and compromising the integrity of the sandbox environment. The vulnerability has been addressed in version 3.11.0.
Affected Version(s)
vm2 < 3.11.0
