CVE-2026-43998
Last modified
CVE-2026-43998 is a high-severity vulnerability rated 8.5/10 on the CVSS scale. 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. EPSS estimates a 0.63% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vm2 Project | Vm2 | 3.10.5 |
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-cp6g-6699-wx9cExploit, Mitigation, Vendor Advisory
- https://github.com/patriksimek/vm2/security/advisories/GHSA-cp6g-6699-wx9cExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-43998?
How severe is CVE-2026-43998?
How do I fix CVE-2026-43998?
Are you affected by CVE-2026-43998?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
