Improper access control in vm2 - CVE-2026-24118

 

Improper access control in vm2 - CVE-2026-24118

Published: May 4, 2026


Vulnerability identifier: #VU129597
CSH Severity: High
CVSS v4: 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]
CVE-ID: CVE-2026-24118
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

vm2

How to mitigate CVE-2026-24118

Install security update from vendor's website.

vm2 - update to 3.11.0

External References

Related Security Bulletins