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

CVE-2026-24120: VM2 Has Sandbox Breakout Through Promise Species

May 5, 2026

The fix for https://github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5 is insufficient and can be circumvented allowing attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system.

References

  • github.com/advisories/GHSA-qvjj-29qf-hp7p
  • github.com/patriksimek/vm2
  • github.com/patriksimek/vm2/releases/tag/v3.10.5
  • github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5
  • github.com/patriksimek/vm2/security/advisories/GHSA-qvjj-29qf-hp7p
  • nvd.nist.gov/vuln/detail/CVE-2026-24120

Code Behaviors & Features

Detect and mitigate CVE-2026-24120 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.10.5

Fixed versions

  • 3.10.5

Solution

Upgrade to version 3.10.5 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-24120.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 06 May 2026 00:18:55 +0000.