PT-2026-36846 · Npm · Vm2

Xmiliah

·

Published

2026-05-01

·

Updated

2026-05-18

·

CVE-2026-24118

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions vm2 versions prior to 3.11.0
Description An issue exists in the way code generation is managed, leading to a sandbox breakout. This allows attackers to execute arbitrary commands on the host system by escaping the sandbox. The flaw involves the lookupGetter method, which can be manipulated to switch between host and sandbox contexts. By using the host apply method via Buffer.apply, an attacker can access getters in the host context. This process can be used to retrieve the host Function.prototype object and the host Function through the constructor property, enabling the creation and execution of code in the host context. Attempts to mitigate this using Object.getOwnPropertyDescriptor to access the constructor property can circumvent previous fixes.
Recommendations Update to version 3.11.0.

Exploit

Fix

Protection Mechanism Failure

Code Injection

Weakness Enumeration

Related Identifiers

BDU:2026-06429
CVE-2026-24118
GHSA-GRJ5-JJM8-H35P

Affected Products

Vm2