Protection Mechanism Failure in vm2 - CVE-2026-24120

 

Protection Mechanism Failure in vm2 - CVE-2026-24120

Published: May 4, 2026


Vulnerability identifier: #VU129596
CSH Severity: High
CVSS v4.0: 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
CVE-ID: CVE-2026-24120
CWE-ID: CWE-693
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Patrik Simek
Affected software:
vm2

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary commands on the host system.

The vulnerability exists due to improper sandbox enforcement in the Promise species handling logic when processing attacker-controlled code inside a vm2 sandbox. A remote attacker can overwrite built-in functions to escape the sandbox and execute arbitrary commands on the host system.

Exploitation requires the ability to run arbitrary code inside the context of a vm2 sandbox.


How to mitigate CVE-2026-24120

Install security update from vendor's website.

Sources