CVE 7.1 HIGH

Post-auth null pointer dereference when aggregating against a view with empty search pipeline_CVE-2026-8063

7.1 / 10
HIGH
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

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.

Basic Information

ID CVE-2026-8063
Source mongodb
Published May 7, 2026 at 04:12

Affected Product

Vendor MongoDB Inc.
Product MongoDB Server
Version 8.2.0
Affected Versions MongoDB Inc. MongoDB Server 8.2.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.