RCE in Patriksimek Vm2

CVE-2026-24781

vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox breakout vulnerability through the inspect function. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This issue has been patched in version 3.11.0.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.012 (65.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-24781?
CVE-2026-24781 is a critical-severity vulnerability in Patriksimek Vm2, classified under Code Injection. CVSS score: 9.8/10. Published 2026-05-04.
How severe is CVE-2026-24781?
Critical severity. CVSS v3 base score is 9.8 out of 10.