CVEvulnerability
CVE-2026-43998
8.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2026-05-13
- Last modified
- 2026-10-26
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.5 HIGH — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- CVSS 3.1 (0b0ca135-0b70-47e7-9f44-1890c2a1c46c)
- 8.5 HIGH — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-59
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.
Affected configurations
• vm2 project vm2 3.10.5
Related
Weakness · CWE (1)
- CWE-59 Improper Link Resolution Before File Access weakness
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-cp6g-6699-wx9c Exploit, Mitigation, Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:50850 access.redhat.com
- https://access.redhat.com/security/cve/CVE-2026-43998 access.redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2477206 bugzilla.redhat.com
- https://github.com/patriksimek/vm2/security/advisories/GHSA-cp6g-6699-wx9c Exploit, Mitigation, Vendor Advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43998.json security.access.redhat.com