CVE-2026-120806: Authorization role-graph corruption via no-op cleanup filters in dropAllRolesFromDatabase
CVE-2026-120806 affects 39 listed versions of MongoDB in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
MongoDB
39 of 250 listed versions are affected. Fixed in 9.0.7, 8.3.16, 8.0.37, 7.0.48. The newest release, 9.0.8, is not affected.
9.0.4 9.0.2 8.3.13 8.3.11 8.3.9 8.3.8 8.3.7 8.3.4 8.3.3 8.3.2 8.3.1 8.3.0 8.0.34 8.0.32 8.0.30 8.0.29 8.0.28 8.0.26 8.0.25 8.0.24 8.0.23 8.0.21 8.0.20 8.0.19 8.0.18 7.0.45 7.0.43 7.0.41 7.0.40 7.0.39 7.0.37 7.0.36 7.0.35 7.0.34 7.0.32 7.0.31 7.0.30 7.0.29 7.0.28
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N (Mongodb)
Published by Mongodb on 10 November 2026. Last changed 13 November 2026.
Sources
Check one version you run: look CVE-2026-120806 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.