CVE-2026-8063CWE-476

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

High · published May 7, 2026

CVSS v4.0
7.1
EPSS
0%
Percentile
32.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.1 · HIGH
Vector
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
EPSS
0.00393 · 32.3th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2026-05-07T04:12Z
EPSS history
Timeline
  • 07 MAY 04:12Z
    Post-auth null pointer dereference when aggregating against a view with empty search pipeline
    cvelistv5