Skip to content
Heist/ feed
Back to feed
Critical

vm2: Sandbox Breakout Through Inspect

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-24781
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 02:05 UTC · Revision 1

Source evidence

vm2: Sandbox Breakout Through Inspect

core-osv · Original source

Published 4 May 2026, 16:33 UTC

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.

osv:CVE-2026-24781
Complete source record
{
  "id": "d3e448146055d270ed4ff31172f5b0ca6dfee1ade24add2e30b3559fe192de73",
  "url": "https://osv.dev/vulnerability/CVE-2026-24781",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "vm2: Sandbox Breakout Through Inspect",
    "summary": "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.",
    "evidence": "osv:CVE-2026-24781",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-24781",
      "aliases": [
        "CVE-2026-24781",
        "GHSA-v37h-5mfm-c47c"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/patriksimek/vm2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "fca270df73b64a88e2f9ce71ac17663b6eaf814e"
                },
                {
                  "fixed": "8d30d93213c1898b3e035298b89a814970dd1189"
                },
                {
                  "fixed": "bdd3d15e57bc4ec5e70365cd79f7cb0256e5f88c"
                },
                {
                  "fixed": "fd266d084e0a3322d0f71ba2a8dc4c96cd030228"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.11.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8d30d93213c1898b3e035298b89a814970dd1189"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "bdd3d15e57bc4ec5e70365cd79f7cb0256e5f88c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "fd266d084e0a3322d0f71ba2a8dc4c96cd030228"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "fca270df73b64a88e2f9ce71ac17663b6eaf814e"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v3.11.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.10.5",
            "v3.10.4",
            "v3.10.3",
            "v3.10.2",
            "v3.10.1",
            "v3.10.0",
            "3.9.19",
            "3.9.18",
            "3.9.17",
            "3.9.16",
            "3.9.15",
            "3.9.14",
            "3.9.13",
            "3.9.12",
            "3.9.11",
            "3.9.10",
            "3.9.9",
            "3.9.8",
            "3.9.7",
            "3.9.6",
            "3.9.5",
            "3.9.4",
            "3.9.3",
            "v3.9.2",
            "v3.9.1",
            "v3.9.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-24781.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.809031712Z",
      "provider": "osv",
      "references": [
        "https://github.com/patriksimek/vm2/releases/tag/v3.11.0",
        "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24781.json",
        "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",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24781.json",
        "https://github.com/patriksimek/vm2/security/advisories/GHSA-v37h-5mfm-c47c",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-24781",
        "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"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-693",
          "CWE-94"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24781.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-24781",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509354,
  "published_at": "2026-05-04T16:33:32.869+00:00"
}