{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.11.6"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7e3faaf550f4ab975bf4cdde183fcec49b056d8e"
            },
            {
              "fixed": "a5b31cd9c01b37139aa9c71df1c691a6d1b440f9"
            }
          ],
          "repo": "https://github.com/patriksimek/vm2",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-m283-3h24-438v"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-693"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47686.json"
  },
  "details": "vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, handleException() in lib/setup-sandbox.js sanitizes SuppressedError.error, SuppressedError.suppressed, and AggregateError.errors but does not sanitize Error.cause, allowing sandbox code to obtain a powerful host object such as process from an embedder-exposed host function that throws an error with that object as its cause and then execute arbitrary host commands. This issue is fixed in version 3.11.6.",
  "id": "CVE-2026-47686",
  "modified": "2026-08-20T03:30:16.949951372Z",
  "published": "2026-08-17T20:54:39.406Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/patriksimek/vm2/releases/tag/3.11.6"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47686.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/patriksimek/vm2/security/advisories/GHSA-m283-3h24-438v"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-47686"
    },
    {
      "type": "FIX",
      "url": "https://github.com/patriksimek/vm2/commit/7e3faaf550f4ab975bf4cdde183fcec49b056d8e"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "vm2: Missing Error.cause Sanitization Enables VM2 Sandbox Escape to RCE"
}