{"id":"CVE-2026-8063","summary":"Post-auth null pointer dereference when aggregating against a view with empty search pipeline","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.","aliases":["BIT-mongodb-2026-8063"],"modified":"2026-08-12T03:51:21.327396809Z","published":"2026-05-07T04:12:54.524Z","database_specific":{"unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"8.2.0"},{"fixed":"8.2.7"}]}],"cna_assigner":"mongodb","cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8063.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mongodb/mongo","events":[{"introduced":"b993867dce63dd366cd93e60f3f425ed716f6497"},{"fixed":"9fbea53313e85fbbf864a963ff17b0bd6dafa0be"}],"database_specific":{"cpe":"cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*","extracted_events":[{"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"}}],"schema_version":"1.9.0","severity":[{"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"}]}