{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*",
            "extracted_events": [
              {
                "introduced": "8.2.0"
              },
              {
                "fixed": "8.2.7"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "b993867dce63dd366cd93e60f3f425ed716f6497"
            },
            {
              "fixed": "9fbea53313e85fbbf864a963ff17b0bd6dafa0be"
            }
          ],
          "repo": "https://github.com/mongodb/mongo",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mongodb",
    "cwe_ids": [
      "CWE-476"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8063.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "8.2.0"
          },
          {
            "fixed": "8.2.7"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "An authenticated user can crash mongod when running $rankFusion or $scoreFusion with an empty pipeline on a view.\n\nWhen resolving a view, the server inspects the aggregation pipeline to determine whether it begins with an Atlas Search stage. For $rankFusion and $scoreFusion, this inspection reads the first element on each stage’s input pipeline array without first verifying that the array is non-empty. Supplying an empty pipeline causes a null pointer dereference and crashes the server.\n\nThis issue affects MongoDB Server 8.2 versions prior to 8.2.7.",
  "id": "CVE-2026-8063",
  "modified": "2026-08-12T03:51:21.327396809Z",
  "published": "2026-05-07T04:12:54.524Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8063.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-8063"
    },
    {
      "type": "REPORT",
      "url": "https://jira.mongodb.org/browse/SERVER-121851"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Post-auth null pointer dereference when aggregating against a view with empty search pipeline"
}