CVE-2026-120806 Authorization role-graph corruption via no-op cleanup filters in dropAllRolesFromDatabase
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB Server | >= 7.0.0, < 7.0.48; >= 8.0.0, < 8.0.37; >= 8.3.0, < 8.3.16; >= 9.0.0, < 9.0.7 | 7.0.48, 8.0.37, 8.3.16, 9.0.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Server | >= 9.0.0, < 9.0.7 | 9.0.7 |
| MongoDB Server | >= 8.3.0, < 8.3.16 | 8.3.16 |
| MongoDB Server | >= 8.0.0, < 8.0.37 | 8.0.37 |
| MongoDB Server | >= 7.0.0, < 7.0.48 | 7.0.48 |
References
- jira.mongodb.org
- ENISA EUVD EUVD-2026-122888 third-party-advisory