
CVE catalog
CVE-2026-43998
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 allo
- Severity
- High · CVSS 8.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.72% · Oct 25, 2026
A flaw was found in vm2 3.10.5. NodeVM require.root path checks use path.resolve() without dereferencing symlinks, while Node require() follows symlinks, allowing sandboxed code to load host modules outside the allowed root and achieve remote code execution. Fixed in 3.11.0. vm2: vm2: Remote code execution due to path restriction bypass via symlinks vm2 NodeVM is vulnerable to require.root bypass via filesystem symlinks, enabling sandboxed code to load arbitrary host-realm modules. An attacker with low privileges who can run code in a NodeVM with require restrictions and symlink-accessible paths may achieve remote code execution. Fixed in vm2 3.11.0. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Cpe | vm2 | Not reported | Not reported | unknown |
| Cpe | vm2 | Not reported | Not reported | unknown |
Fixed-version evidence
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://access.redhat.com/errata/RHSA-2026:50850]
- [https://access.redhat.com/security/cve/CVE-2026-43998]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2477206]
- [https://github.com/patriksimek/vm2/security/advisories/GHSA-cp6g-6699-wx9c]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-43998]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43998.json]
[FIRST EPSS] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX]