# CVE-2026-120806: Authorization role-graph corruption via no-op cleanup filters in dropAllRolesFromDatabase

- Severity: High 7.0 (CVSS:4.0, scored by mongodb) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-11-10T20:05:18.025Z
- Modified: 2026-11-13T21:17:38.093Z
- Weaknesses: CWE-459
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB MongoDB Server: from 9.0.0 before 9.0.7; from 8.3.0 before 8.3.16; from 8.0.0 before 8.0.37; from 7.0.0 before 7.0.48

## Every score

- mongodb: CVSS:4.0 7.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N`
- mongodb: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N`

## References

- <https://jira.mongodb.org/browse/SERVER-130261>

## Sources

- CVE List: [CVE-2026-120806](https://www.cve.org/CVERecord?id=CVE-2026-120806), CVE Terms of Use, modified 2026-11-13
- NVD: [CVE-2026-120806](https://nvd.nist.gov/vuln/detail/CVE-2026-120806), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-120806 · Whole record: https://cve.day/CVE-2026-120806.json · Rebuilt by cve.day 2026-11-25T22:59:50.204Z
