CVE-2026-43998

8.5 HIGH
Published: May 13, 2026 Modified: May 14, 2026
View on NVD

Description

vm2 is an open source vm/sandbox for Node.js. In 3.10.5, NodeVM's require.root path restriction can be bypassed using filesystem symlinks, allowing sandboxed code to load modules from outside the allowed root directory in host context. Because path validation uses path.resolve() (which does not dereference symlinks) but module loading uses Node's native require() (which does), an attacker can load arbitrary host-realm modules and achieve remote code execution. This vulnerability is fixed in 3.11.0.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/patriksimek/vm2/security/advisories/GHSA-cp6g-6699-wx9c
Source: security-advisories@github.com
Exploit Mitigation Vendor Advisory
https://github.com/patriksimek/vm2/security/advisories/GHSA-cp6g-6699-wx9c
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit Mitigation Vendor Advisory

2 reference(s) from NVD

Quick Stats

CVSS v3 Score
8.5 / 10.0
EPSS (Exploit Probability)
0.6%
45th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

vm2_project