CVE-2025-6713
Description
An unauthorized user may leverage a specially crafted aggregation pipeline to access data without proper authorization due to improper handling of the $mergeCursors stage in MongoDB Server. This may lead to access to data without further authorisation. This issue affects MongoDB Server MongoDB Server v8.0 versions prior to 8.0.7, MongoDB Server v7.0 versions prior to 7.0.19 and MongoDB Server v6.0 versions prior to 6.0.22
How to fix
- mongodb mongodb6.0.22, 7.0.19, 8.0.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mongodb mongodb | 6.0.0 ≤ v < 6.0.22, 7.0.0 ≤ v < 7.0.19, 8.0.0 ≤ v < 8.0.7 | 6.0.22, 7.0.19, 8.0.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.