CVE-2026-43998
vm2 is an open source vm/sandbox for Node.js. In 3.10.5, NodeVM's …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/patriksimek/vm2/security/advisories/GHSA-cp6g-6699-wx9c
- github.com/patriksimek/vm2/releases/tag/v3.11.0
- github.com/advisories/GHSA-cp6g-6699-wx9c
- nvd.nist.gov/vuln/detail/CVE-2026-43998
- access.redhat.com/security/cve/CVE-2026-43998
- bugzilla.redhat.com/show_bug.cgi?id=2477206
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43998.json
- access.redhat.com/errata/RHSA-2026:50850
- nvd.nist.gov/vuln/detail/CVE-2026-43998
- cve.org/CVERecord?id=CVE-2026-43998
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.