SB2026050494 - Multiple vulnerabilities in vm2
Published: May 4, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 vulnerabilities.
1) Protection Mechanism Failure (CVE-ID: CVE-2026-26332)
CWE-ID: CWE-693 - Protection Mechanism Failure
CVSSv4: 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/E:U/U:Amber
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: 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/E:U/U:Amber
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: 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/E:U/U:Amber
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.
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