CVE-2026-8063 Post-auth null pointer dereference when aggregating against a view with empty search pipeline
HighCVSS 7.1
EPSS 0.39%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB Server | >= 8.2.0, < 8.2.7 | 8.2.7 | Fixed |
| mongodb/mongodb | >= 8.2.0, < 8.2.7 | 8.2.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Server | >= 8.2.0, < 8.2.7 | 8.2.7 |
| mongodb/mongodb | >= 8.2.0, < 8.2.7 | 8.2.7 |
References
- jira.mongodb.org issue-tracking patch