CVE-2026-9751 Details
Description
The ldapQueryPassword parameter, when set through the runtime setParameter command, will log the new password to the mongod.log file in plain text.
A vulnerability exists in MongoDB versions 3.4.19 prior to 8.2.6, where the LDAP query password, when set through the runtime setParameter command, is logged in plain text to the mongod.log file. This issue arises because, unless the --redactClientLogData option is globally enabled, any parameter passed to mongod is recorded in the logs without encryption. The isRedact() function, which is intended to mark sensitive parameters like passwords, is not applied to the newValue logging path, creating a gap in data protection. As a result, the LDAP query password can be exposed in clear text, posing a security risk.
Users can enable the --redactClientLogData option to prevent sensitive information, such as passwords, from being logged in plain text. Instructions for managing MongoDB parameters can be found in the MongoDB documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://jira.mongodb.org/browse/SERVER-123370 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-532 | Insertion of Sensitive Information into Log File | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mongodb mongodb | >= 7.0.0, < 7.0.35 >= 8.0.0, < 8.0.24 >= 8.2.0, < 8.2.10 >= 8.3.0, < 8.3.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 12, 2026 | Initial Analysis | [email protected] |
| Jun 9, 2026 | New CVE Received | [email protected] |