CVE-2026-43998 vm2: NodeVM require.root bypass via symlink traversal allows sandbox escape
HighCVSS 8.5
EPSS 0.72%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- Red Hat
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.
Upgrade path
6 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/ansible-automation-platform/automation-portal:1785854226(Red Hat ansible_portal 2.1) | All versions | No fix listed | No fix yet |
| npm vm2(npm) | = 3.10.5; >= 3.10.5, < 3.11.0 | 3.11.0 | Fixed |
| redhat ansible portal | < 1785854226 | 1785854226 | Fixed |
| patriksimek vm2 | = 3.10.5 | No fix listed | Versions listed |
| redhat rhdh | = 1 | No fix listed | Versions listed |
| vm2 project vm2 | = 3.10.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| patriksimek vm2 | = 3.10.5 | No fix listed |
| redhat ansible portal | < 1785854226 | 1785854226 |
| redhat rhdh | = 1 | No fix listed |
| npm vm2(npm) | = 3.10.5 | No fix listed |
| redhat/ansible-automation-platform/automation-portal:1785854226(Red Hat:ansible_portal:2.1) | All versions | No fix listed |
| vm2 project vm2 | = 3.10.5 | No fix listed |
| npm vm2(npm) | >= 3.10.5, < 3.11.0 | 3.11.0 |
References
- https://github.com/patriksimek/vm2/security/advisories/GHSA-cp6g-6699-wx9c exploit mitigation vendor-advisory
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2477206 issue-tracking
- security.access.redhat.com
- RHSA-2026:50850 patch vendor-advisory
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- www.cve.org
- github.com product
- ENISA EUVD EUVD-2026-30068 third-party-advisory