CVE-2026-24781
published critical CVSS 3.1 · 9.8vm2: Sandbox Breakout Through Inspect
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 | — | rhdh/rhdh-hub-rhel9Red Hat Developer Hub 1.10 · 1783448184 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhdh/rhdh-hub-rhel9Red Hat Developer Hub 1.9 · 1781187342 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhdh/backstage-community-plugin-catalog-backend-module-scaffolder-relation-processorRed Hat Developer Hub | Affected | Not stated | redhat-SADP |
Description
vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox breakout vulnerability through the inspect function. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This issue has been patched in version 3.11.0.
A flaw was found in vm2, an open-source virtual machine (VM) sandbox for Node.js. This vulnerability allows an attacker to escape the sandbox environment by exploiting the `inspect` function. Successful exploitation can lead to arbitrary code execution on the host system, compromising the integrity and confidentiality of the system.
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.8 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/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 Developer Hub 1.10 | 1783448184 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Developer Hub 1.9 | 1781187342 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Developer Hub | Default: affected | redhat-SADP · adp |
Weaknesses
3- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-693 CWE-693: Protection Mechanism Failure
- CWE-653 Improper Isolation or Compartmentalization
References
10- https://access.redhat.com/errata/RHSA-2026:26234
- https://access.redhat.com/errata/RHSA-2026:36754
- https://access.redhat.com/security/cve/CVE-2026-24781
- RHBZ#2466531 https://bugzilla.redhat.com/show_bug.cgi?id=2466531
- https://github.com/patriksimek/vm2/commit/8d30d93213c1898b3e035298b89a814970dd1189
- https://github.com/patriksimek/vm2/commit/bdd3d15e57bc4ec5e70365cd79f7cb0256e5f88c
- https://github.com/patriksimek/vm2/commit/fd266d084e0a3322d0f71ba2a8dc4c96cd030228
- https://github.com/patriksimek/vm2/releases/tag/v3.11.0
- https://github.com/patriksimek/vm2/security/advisories/GHSA-v37h-5mfm-c47c
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24781.json
Provider assertions
3GitHub_M · cna
vm2: Sandbox Breakout Through Inspect
redhat-SADP · adp
vm2: vm2: Arbitrary code execution via sandbox breakout through inspect function
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7fbe18ce1848d35cd9c6817275f5ee1dad42d972c5bbe8b47711eb985c002c9b
- Ingested
- 23 Sep 2026, 09:06:35 UTC
- Source record
- Official CVE record