CVE-2026-43998
published high CVSS 3.1 · 8.5vm2: NodeVM require.root bypass via symlink traversal allows sandbox escape
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| patriksimek | — | vm23.10.5 | Affected | Not stated | GitHub_M |
| Red Hat | — | ansible-automation-platform/automation-portalRed Hat Ansible Automation Platform 2.1 · 1785854226 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhdh/rhdh-hub-rhel9Red Hat Developer Hub | Unaffected | Not required | redhat-SADP |
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.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| patriksimek | vm2 | 3.10.5 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.1 | 1785854226 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Developer Hub | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
5- https://access.redhat.com/errata/RHSA-2026:50850
- https://access.redhat.com/security/cve/CVE-2026-43998
- RHBZ#2477206 https://bugzilla.redhat.com/show_bug.cgi?id=2477206
- https://github.com/patriksimek/vm2/security/advisories/GHSA-cp6g-6699-wx9c
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43998.json
Provider assertions
3GitHub_M · cna
vm2: NodeVM require.root bypass via symlink traversal allows sandbox escape
redhat-SADP · adp
vm2: vm2: Remote code execution due to path restriction bypass via symlinks
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7495db3e6264a050c0cec3bc9107beb9d3c1aaedad28e938cfea80e11635c0e5
- Ingested
- 23 Sep 2026, 09:14:58 UTC
- Source record
- Official CVE record