CVE-2026-120825
Description
An authorization weakness in the aggregation framework of MongoDB Server may allow an authenticated user holding only basic database privileges to read the contents of collections in a database for which they have not been granted read access. The privilege evaluation performed while a view definition is validated does not cover a nested portion of the supplied pipeline, so the resulting view returns data the user is otherwise refused. This may result in unintended access to data, including stored authentication material.
How to fix
- MongoDB MongoDB Server9.0.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB MongoDB Server | 9.0.0 ≤ v < 9.0.7 | 9.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.