CVE-2026-120806

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductMongoDB Server
PublishedNov 10, 2026
First seenNov 10, 2026
Weakness typeCWE-459CWE-459

How to fix

Update
  • MongoDB MongoDB Server9.0.7, 8.3.16, 8.0.37, 7.0.48 or later

Affected products

ProductAffected versionsFixed in
MongoDB MongoDB Server9.0.0 ≤ v < 9.0.7, 8.3.0 ≤ v < 8.3.16, 8.0.0 ≤ v < 8.0.37, 7.0.0 ≤ v < 7.0.489.0.7, 8.3.16, 8.0.37, 7.0.48

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.