cvelo
P3 · MediumCVSS 5.5EPSS 0.3%

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

  • CVE-2026-120806
  • GHSA-6j54-23c6-25cx
  • EUVD-2026-122888

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.

Text from the CVE.org record.

Recommendation

  • MongoDB MongoDB Server

    • If you run 9.0.xupdate to 9.0.7 or laterPatch update: breaking changes are unlikely
    • If you run 8.3.xupdate to 8.3.16 or laterPatch update: breaking changes are unlikely
    • If you run 8.0.xupdate to 8.0.37 or laterPatch update: breaking changes are unlikely
    • If you run 7.0.xupdate to 7.0.48 or laterPatch update: breaking changes are unlikely

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • MongoDB MongoDB Server

    Affected versionsFixed in
    from 9.0.0 to before 9.0.79.0.7
    from 8.3.0 to before 8.3.168.3.16
    from 8.0.0 to before 8.0.378.0.37
    from 7.0.0 to before 7.0.487.0.48

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.