Skip to content
Heist/ feed
Back to feed
High

Post-auth null pointer dereference when aggregating against a view with empty search pipeline

Type: advisorySources: OSV

An authenticated user can crash mongod when running $rankFusion or $scoreFusion with an empty pipeline on a view. When 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. This issue affects MongoDB Server 8.2 versions prior to 8.2.7.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-8063
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 03:38 UTC · Revision 1

Source evidence

Post-auth null pointer dereference when aggregating against a view with empty search pipeline

core-osv · Original source

Published 7 May 2026, 04:12 UTC

An authenticated user can crash mongod when running $rankFusion or $scoreFusion with an empty pipeline on a view. When 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. This issue affects MongoDB Server 8.2 versions prior to 8.2.7.

osv:CVE-2026-8063
Complete source record
{
  "id": "706414a88791c1c0d397d616d52fd9f8bcdf0e9a9c1d0bc218fafe6677d0cf60",
  "url": "https://osv.dev/vulnerability/CVE-2026-8063",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Post-auth null pointer dereference when aggregating against a view with empty search pipeline",
    "summary": "An authenticated user can crash mongod when running $rankFusion or $scoreFusion with an empty pipeline on a view. When 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. This issue affects MongoDB Server 8.2 versions prior to 8.2.7.",
    "evidence": "osv:CVE-2026-8063",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-8063",
      "aliases": [
        "BIT-mongodb-2026-8063",
        "CVE-2026-8063"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mongodb/mongo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b993867dce63dd366cd93e60f3f425ed716f6497"
                },
                {
                  "fixed": "9fbea53313e85fbbf864a963ff17b0bd6dafa0be"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "8.2.0"
                      },
                      {
                        "fixed": "8.2.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "r8.2.4-alpha1",
            "r8.2.4-alpha0",
            "r8.2.3-alpha0",
            "r8.2.2-rc0",
            "r8.2.2",
            "r8.2.1-rc1",
            "r8.2.1",
            "r8.2.1-rc0",
            "r8.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-8063.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.195931618Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8063.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-8063",
        "https://jira.mongodb.org/browse/SERVER-121851"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-476"
        ],
        "cna_assigner": "mongodb",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.2.0"
                  },
                  {
                    "fixed": "8.2.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8063.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-8063",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 522276,
  "published_at": "2026-05-07T04:12:54.524+00:00"
}