{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*",
              "cpe:2.3:a:mongodb:mongodb:9.0.0:alpha0:*:*:-:-:*:*",
              "cpe:2.3:a:mongodb:mongodb:9.0.0:alpha1:*:*:-:-:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "8.3.0"
              },
              {
                "fixed": "8.3.8"
              },
              {
                "introduced": "9.0.0-alpha0"
              },
              {
                "last_affected": "9.0.0-alpha0"
              },
              {
                "introduced": "9.0.0-alpha1"
              },
              {
                "last_affected": "9.0.0-alpha1"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "0f29b043a58fdd251ce0a0b32754b8459613c933"
            },
            {
              "fixed": "d100bf19961251f273e1d0bd8ce66fc60634f53c"
            },
            {
              "introduced": "3a33d18cd99f6855f658572fadf4f17ca699a9fe"
            },
            {
              "last_affected": "ad6ce8140cac97de41e53d1cb8c4808815b3ef77"
            }
          ],
          "repo": "https://github.com/mongodb/mongo",
          "type": "GIT"
        }
      ],
      "versions": [
        "9.0.0-alpha0",
        "9.0.0-alpha1"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mongodb",
    "cwe_ids": [
      "CWE-416"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18706.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "8.3.0"
          },
          {
            "fixed": "8.3.8"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "An issue in MongoDB Server's $graphLookup aggregation stage could allow an authenticated user able to issue aggregation and memory-management commands to cause an internal reference to be used after the underlying memory has been freed. This could result in a server crash or, potentially, execution of unintended code.",
  "id": "CVE-2026-18706",
  "modified": "2026-09-18T03:30:35.411179908Z",
  "published": "2026-08-11T18:34:37.836Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://jira.mongodb.org/browse/SERVER-128551"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18706.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-18706"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Use-After-Free in MongoDB $graphLookup Aggregation Stage Leads to Denial of Service and Potential Remote Code Execution"
}