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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://jira.mongodb.org/browse/SERVER-121851 Issue Tracking, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.1 · mongodbNVD modified 2026-10-26 21:10
Affected (CPE criteria) 1
cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*
References 1
- https://jira.mongodb.org/browse/SERVER-121851 Issue Tracking, Patch