Authorization role-graph corruption via no-op cleanup filters in dropAllRolesFromDatabase

State
Published
Severity
7.0 High
Published
Nov 10, 2026
Updated
Nov 13, 2026
Reserved
Nov 2, 2026

Read the record on cve.org

Description

A flaw in MongoDB Server's user management commands may lead to incomplete cleanup of role authorization data when roles are dropped from a database. Due to incorrect internal query predicates, the drop operation removes role definitions but fails to remove stale references in user and role documents. If a role with the same name is subsequently recreated with different privileges, previously associated users may silently inherit the new role's privileges without an explicit grant or corresponding audit event. Exploitation requires authenticated access with database administrative privileges on the target database.

ProductVersions
MongoDB Server MongoDB9.0.0 to before 9.0.7 Affected8.3.0 to before 8.3.16 Affected8.0.0 to before 8.0.37 Affected7.0.0 to before 7.0.48 Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.