What’s Vulnerable › Vulnerabilities
CVE-2026-8063: Post-auth null pointer dereference when aggregating against a view with empty search pipeline
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-07 · updated 2026-10-26
- Weakness: CWE-476
Description
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.
Affected products
- MongoDB: from 8.2.0 before 8.2.7 — fixed in 8.2.7
How to fix
Upgrade to a fixed version: MongoDB 8.2.7. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-8063 or the next vulnerability affects your stack