NetSight
high8.6

CVE-2026-120822

MongoDB Server may omit an authorization check on the resource that a replication-related administrative command actually targets, because that check is condit…

Impact

MongoDB Server may omit an authorization check on the resource that a replication-related administrative command actually targets, because that check is conditioned on a value taken from the client's own request. A user holding backup and restore privileges may therefore read and relocate collections outside the set that user is permitted to access. This may result in unintended access to data and unintended changes to the collection catalog.

An attacker can exploit this over the network, with an administrator account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, low risk of outages.

Affected products

VendorProductAffected versions
MongoDBMongoDB Server
from 9.0.0 before 9.0.7
from 8.3.0 before 8.3.16
from 8.0.0 before 8.0.37
from 7.0.0 before 7.0.48
MongoDB, Inc.MongoDB Server
from 9.0.0 before 9.0.7
from 8.3.0 before 8.3.16
from 8.0.0 before 8.0.37
from 7.0.0 before 7.0.48

Weakness classification

References