Null Pointer Dereference in MongoDB Server Due to Empty Pipeline in Aggregation Functions
CVE-2026-8063
7.1HIGH
What is CVE-2026-8063?
An authenticated user can trigger a server crash in MongoDB Server by executing $rankFusion or $scoreFusion with an empty aggregation pipeline. The server's failure occurs during the inspection of the aggregation pipeline when it attempts to access the first element of an input pipeline array without confirming that the array is non-empty. This flaw results in a null pointer dereference, leading to a crash. Affected versions include all MongoDB Server 8.2 versions prior to 8.2.7.
Affected Version(s)
MongoDB Server 8.2.0 < 8.2.7