Flaw in MongoDB Server's User Management Command Leads to Role Authorization Issues
CVE-2026-120806
7HIGH
What is CVE-2026-120806?
A flaw in MongoDB Server's user management commands can cause incomplete cleanup of role authorization data when roles are removed from a database. This oversight arises from incorrect internal query predicates, leading to the drop operation removing role definitions but not the stale references within user and role documents. If the same role name is later reused with a different set of privileges, the previously linked users could inherit these new privileges without an explicit grant or an accompanying audit event. To exploit this vulnerability, an attacker would require authenticated access with administrative privileges to the target database.
Affected Version(s)
MongoDB Server 9.0.0 < 9.0.7
MongoDB Server 8.3.0 < 8.3.16
MongoDB Server 8.0.0 < 8.0.37