NetSight
high7.1

CVE-2026-120825

An authorization weakness in the aggregation framework of MongoDB Server may allow an authenticated user holding only basic database privileges to read the con…

Impact

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.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read.

Affected products

VendorProductAffected versions
MongoDBMongoDB Server
from 9.0.0 before 9.0.7
MongoDB, Inc.MongoDB Server
from 9.0.0 before 9.0.7

Weakness classification

References