CVE-2026-120807
A flaw in MongoDB’s X.509 cluster-membership authentication guard could allow a holder of a cluster-member certificate to gain elevated internal privileges whe…
Impact
A flaw in MongoDB’s X.509 cluster-membership authentication guard could allow a holder of a cluster-member certificate to gain elevated internal privileges when a specific deployment configuration is in use. An internal check, which prevents a certificate recognized as a cluster member from also being treated as a regular user, does not correctly distinguish between certain error conditions encountered during user lookup. Under certain timing conditions, this can cause the check to be bypassed, granting the connection full internal system privileges. Triggering this issue requires possession of a valid cluster-member TLS certificate, non-default X.509 cluster authentication configuration, and specific conditions during the user cache lookup process.
An attacker can exploit this over the network, with an administrator account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| 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 |
| MongoDB, Inc. | MongoDB Server | from 8.0.0 before 8.0.37 from 8.3.0 before 8.3.16 from 7.0.0 before 7.0.48 from 9.0.0 before 9.0.7 |