CVE-2026-43999
published critical CVSS 3.1 · 9.9vm2: NodeVM builtin allowlist bypass via `module` builtin's `Module._load` allows sandbox escape
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| patriksimek | — | vm2< 3.11.0 | 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. Prior to 3.11.0, NodeVM's builtin allowlist can be bypassed when the module builtin is allowed (including via the '*' wildcard). The module builtin exposes Node's Module._load(), which loads any module by name directly in the host context, completely bypassing vm2's builtin restriction. This allows sandboxed code to load excluded builtins like child_process and achieve remote code execution. This vulnerability is fixed in 3.11.0.
A flaw was found in vm2 (before 3.11.0). When the module builtin is allowed (including via wildcard), sandboxed code can call Module._load() in the host context, bypassing the builtin allowlist and loading excluded modules such as child_process for 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
- 9.9 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.9 | critical | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/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.11.0 (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-863 CWE-863: Incorrect Authorization
- CWE-829 Inclusion of Functionality from Untrusted Control Sphere
References
5- https://access.redhat.com/errata/RHSA-2026:50850
- https://access.redhat.com/security/cve/CVE-2026-43999
- RHBZ#2477196 https://bugzilla.redhat.com/show_bug.cgi?id=2477196
- https://github.com/patriksimek/vm2/security/advisories/GHSA-947f-4v7f-x2v8
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43999.json
Provider assertions
3GitHub_M · cna
vm2: NodeVM builtin allowlist bypass via `module` builtin's `Module._load` allows sandbox escape
redhat-SADP · adp
vm2: vm2: Remote code execution via NodeVM builtin allowlist bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ddc18cbad4b1531d020b6215561642ff80c50db3cb376fe0c5adef3b98859d6c
- Ingested
- 23 Sep 2026, 09:14:58 UTC
- Source record
- Official CVE record