SB2026050494 - Multiple vulnerabilities in vm2
Published: May 4, 2026 Updated: November 22, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 4 vulnerabilities.
1) Protection Mechanism Failure (CVE-ID: CVE-2026-26332)
CWE-ID: CWE-693 - Protection Mechanism Failure
CVSSv4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to improper sandbox enforcement in the SuppressedError handling in vm2 when processing crafted code inside the sandbox. A remote attacker can trigger a sandbox escape to execute arbitrary code.
This issue was observed in vm2 v3.10.4 on Node.js v24.13.0.
2) Protection Mechanism Failure (CVE-ID: CVE-2026-24781)
CWE-ID: CWE-693 - Protection Mechanism Failure
CVSSv4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to execute arbitrary commands on the host system.
The vulnerability exists due to improper sandbox enforcement in the inspect function when unwrapping proxies during object inspection. A remote attacker can execute crafted code inside a vm2 sandbox to execute arbitrary commands on the host system.
Exploitation requires the ability to run arbitrary code within the context of a vm2 sandbox.
3) Improper access control (CVE-ID: CVE-2026-24118)
CWE-ID: CWE-284 - Improper Access Control
CVSSv4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to execute arbitrary code on the host system.
The vulnerability exists due to improper access control in the vm2 sandbox boundary handling of the __lookupGetter__ method when executing untrusted code inside a vm2 sandbox. A remote attacker can invoke host-context methods through Buffer.apply and retrieve the host Function constructor to execute arbitrary code on the host system.
Exploitation requires the ability to run arbitrary code within the context of a vm2 sandbox.
4) Uncaught Exception (CVE-ID: CVE-2026-44001)
CWE-ID: CWE-248 - Uncaught Exception
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to cause a denial of service by crashing the host Node.js process.
The vulnerability exists due to improper exception handling in the vm2 promise constructor wrapper when an error in a sandboxed executor propagates to the host as an unhandled rejection. A remote attacker can submit code to an application that runs untrusted JavaScript in vm2 to trigger the unhandled rejection and terminate the host process.
Remediation
Install update from vendor's website.
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-55hx-c926-fr95
- https://github.com/patriksimek/vm2/security/advisories/GHSA-v37h-5mfm-c47c
- https://github.com/patriksimek/vm2/security/advisories/GHSA-grj5-jjm8-h35p
- https://github.com/patriksimek/vm2/commit/4b009c2d4b1131c01810c1205e641d614c322a29
- https://github.com/patriksimek/vm2/security/advisories/GHSA-hw58-p9xv-2mjh