- Home
- Vulnerabilities
- CVE-2026-120806
CVE-2026-120806
Authorization role-graph corruption via no-op cleanup filters in dropAllRolesFromDatabase
Low
28/100
Summary
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.
Affected products and versions
Mongodb (4 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Server | from 9.0.0 (included) to 9.0.7 (excluded) |
— | CNA (vendor or assigner) |
| Server | from 8.3.0 (included) to 8.3.16 (excluded) |
— | CNA (vendor or assigner) |
| Server | from 8.0.0 (included) to 8.0.37 (excluded) |
— | CNA (vendor or assigner) |
| Server | from 7.0.0 (included) to 7.0.48 (excluded) |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N(CVSS 3.1, CNA:mongodb)- Weakness
- CWE-459 · Autre (CWE-459)