VULNERABILITY INTELLIGENCE
CVE-2026-43998
CVSS score8.5 HIGH
EPSS probability0.72%
CISA KEVNot currently listed
Published2026-05-13
Last modified2026-10-26
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
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.
Weakness classification
- security-advisories@github.com: CWE-59
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c: CWE-59
Primary references
- security-advisories@github.com — Exploit, Mitigation, Vendor Advisory
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 — Exploit, Mitigation, Vendor Advisory
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c