Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. vm2
  4. ›
  5. CVE-2026-24781

CVE-2026-24781: VM2 Has Sandbox Breakout Through Inspect Function

May 5, 2026 (updated November 4, 2026)

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.

References

  • access.redhat.com/errata/RHSA-2026:26234
  • access.redhat.com/errata/RHSA-2026:36754
  • access.redhat.com/security/cve/CVE-2026-24781
  • bugzilla.redhat.com/show_bug.cgi?id=2466531
  • github.com/advisories/GHSA-v37h-5mfm-c47c
  • github.com/patriksimek/vm2/commit/8d30d93213c1898b3e035298b89a814970dd1189
  • github.com/patriksimek/vm2/commit/bdd3d15e57bc4ec5e70365cd79f7cb0256e5f88c
  • github.com/patriksimek/vm2/commit/fd266d084e0a3322d0f71ba2a8dc4c96cd030228
  • github.com/patriksimek/vm2/releases/tag/v3.11.0
  • github.com/patriksimek/vm2/security/advisories/GHSA-v37h-5mfm-c47c
  • nvd.nist.gov/vuln/detail/CVE-2026-24781
  • security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24781.json

Code Behaviors & Features

Detect and mitigate CVE-2026-24781 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.11.0

Fixed versions

  • 3.11.0

Solution

Upgrade to version 3.11.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-653: Improper Isolation or Compartmentalization
  • CWE-693: Protection Mechanism Failure
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/vm2/CVE-2026-24781.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:00 +0000.