CVE-2026-47131: vm2 has a Sandbox Escape issue
(updated )
By combining Buffer.call.call({}.__lookupGetter__, Buffer, "__proto__"), Buffer.call.call({}.__lookupSetter__, Buffer, "__proto__"), and Node.js’s ERR_INVALID_ARG_TYPE Error, the host’s TypeError constructor can be obtained, which allows the escape from the sandbox.
This allows attackers to run arbitrary code.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-47131 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →