CVE-2026-9751: CWE-532 Insertion of sensitive information into log file in MongoDB MongoDB Server
CVE-2026-9751 is a vulnerability in MongoDB Server where the ldapQueryPassword parameter, when set via the runtime setParameter command, is logged in plain text to the mongod.log file. This exposure of sensitive information in logs can lead to unauthorized disclosure of LDAP passwords. The issue affects MongoDB Server versions 7.0.0, 8.0.0, 8.2.0, and 8.3.0. The vulnerability has a medium severity with a CVSS 4.0 base score of 6.8. No official patch or remediation guidance is currently provided by the vendor. There are no known exploits in the wild at this time.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2026-9751 in MongoDB Server involves the ldapQueryPassword parameter being logged in plaintext to the mongod.log file when set using the runtime setParameter command. This constitutes a CWE-532 issue, where sensitive information is improperly recorded in log files, potentially exposing LDAP passwords to anyone with access to the logs. The affected versions explicitly include 7.0.0, 8.0.0, 8.2.0, and 8.3.0. The CVSS 4.0 vector indicates local attack vector with low complexity, no privileges required beyond low, no user interaction, and high confidentiality impact. The vendor has not yet provided an official fix or remediation level, and no exploits are currently known in the wild.
Potential Impact
The primary impact is the exposure of sensitive LDAP password information in plaintext within MongoDB server log files. This could allow an attacker or unauthorized user with access to the logs to obtain LDAP credentials, potentially leading to further unauthorized access or privilege escalation within the environment. However, exploitation requires local access to the system or log files, and no remote exploitation vector is indicated.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, it is recommended to restrict access to MongoDB log files to trusted administrators only and avoid setting the ldapQueryPassword parameter at runtime if possible. Monitor vendor communications for updates on patches or official mitigations.
CVE-2026-9751: CWE-532 Insertion of sensitive information into log file in MongoDB MongoDB Server
Description
CVE-2026-9751 is a vulnerability in MongoDB Server where the ldapQueryPassword parameter, when set via the runtime setParameter command, is logged in plain text to the mongod.log file. This exposure of sensitive information in logs can lead to unauthorized disclosure of LDAP passwords. The issue affects MongoDB Server versions 7.0.0, 8.0.0, 8.2.0, and 8.3.0. The vulnerability has a medium severity with a CVSS 4.0 base score of 6.8. No official patch or remediation guidance is currently provided by the vendor. There are no known exploits in the wild at this time.
CVSS v4.0
Score 6.8medium
Affected software
pkg:github/mongodb/mongoRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-9751 in MongoDB Server involves the ldapQueryPassword parameter being logged in plaintext to the mongod.log file when set using the runtime setParameter command. This constitutes a CWE-532 issue, where sensitive information is improperly recorded in log files, potentially exposing LDAP passwords to anyone with access to the logs. The affected versions explicitly include 7.0.0, 8.0.0, 8.2.0, and 8.3.0. The CVSS 4.0 vector indicates local attack vector with low complexity, no privileges required beyond low, no user interaction, and high confidentiality impact. The vendor has not yet provided an official fix or remediation level, and no exploits are currently known in the wild.
Potential Impact
The primary impact is the exposure of sensitive LDAP password information in plaintext within MongoDB server log files. This could allow an attacker or unauthorized user with access to the logs to obtain LDAP credentials, potentially leading to further unauthorized access or privilege escalation within the environment. However, exploitation requires local access to the system or log files, and no remote exploitation vector is indicated.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, it is recommended to restrict access to MongoDB log files to trusted administrators only and avoid setting the ldapQueryPassword parameter at runtime if possible. Monitor vendor communications for updates on patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-05-27T17:48:24.554Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2899f18dd33fbd859049d1
Added to database: 06/09/2026, 22:55:45 UTC
Last enriched: 06/17/2026, 09:21:50 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 71
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.