Skip to content
Heist/ feed
Back to feed
Critical

vm2 Sandbox Escape vulnerability

Type: advisorySources: OSV

vm2 is an advanced vm/sandbox for Node.js. The library contains critical security issues and should not be used for production. The maintenance of the project has been discontinued. In vm2 for versions up to 3.9.19, `Promise` handler sanitization can be bypassed with the `@@species` accessor property allowing attackers to escape the sandbox and run arbitrary code, potentially allowing remote code execution inside the context of vm2 sandbox. Version 3.10.0 contains a patch for the issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-37466
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 23:31 UTC · Revision 1

Source evidence

vm2 Sandbox Escape vulnerability

core-osv · Original source

Published 13 Jul 2023, 23:17 UTC

vm2 is an advanced vm/sandbox for Node.js. The library contains critical security issues and should not be used for production. The maintenance of the project has been discontinued. In vm2 for versions up to 3.9.19, `Promise` handler sanitization can be bypassed with the `@@species` accessor property allowing attackers to escape the sandbox and run arbitrary code, potentially allowing remote code execution inside the context of vm2 sandbox. Version 3.10.0 contains a patch for the issue.

osv:CVE-2023-37466
Complete source record
{
  "id": "fd63d1c824d33c55558a5dc2147246dcce8c969a443409c8ef84dec737a722b2",
  "url": "https://osv.dev/vulnerability/CVE-2023-37466",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "vm2 Sandbox Escape vulnerability",
    "summary": "vm2 is an advanced vm/sandbox for Node.js. The library contains critical security issues and should not be used for production. The maintenance of the project has been discontinued. In vm2 for versions up to 3.9.19, `Promise` handler sanitization can be bypassed with the `@@species` accessor property allowing attackers to escape the sandbox and run arbitrary code, potentially allowing remote code execution inside the context of vm2 sandbox. Version 3.10.0 contains a patch for the issue.",
    "evidence": "osv:CVE-2023-37466",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2023-37466",
      "aliases": [
        "CVE-2023-37466",
        "GHSA-cchq-frgv-rjh5"
      ],
      "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": "d9a1fde8ec5a5a9c9e5a69bf91d703950859d744"
                },
                {
                  "fixed": "96acb88d9bbf3006156bfb86c12fed4954224c7d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "3.9.19"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d9a1fde8ec5a5a9c9e5a69bf91d703950859d744"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "96acb88d9bbf3006156bfb86c12fed4954224c7d"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v3.10.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "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-2023-37466.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.626919043Z",
      "provider": "osv",
      "references": [
        "https://github.com/patriksimek/vm2/releases/tag/v3.10.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37466.json",
        "https://github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-37466",
        "https://security.netapp.com/advisory/ntap-20241108-0002/",
        "https://github.com/patriksimek/vm2/commit/d9a1fde8ec5a5a9c9e5a69bf91d703950859d744"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37466.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-37466",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490902,
  "published_at": "2023-07-13T23:17:51.434+00:00"
}