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

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

  • github.com/advisories/GHSA-v37h-5mfm-c47c
  • github.com/patriksimek/vm2
  • 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

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. Learn more about Dependency Scanning →

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-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 Wed, 06 May 2026 00:19:55 +0000.