Skip to main content

MongoDB Server EUVDEUVD-2026-35867

| CVE-2026-9751 MEDIUM
Insertion of Sensitive Information into Log File (CWE-532)
2026-06-09 mongodb GHSA-52qm-pr2g-7h6x
6.8
CVSS 4.0 · Vendor: mongodb
Share

Severity by source

Vendor (mongodb) PRIMARY
6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from Vendor (mongodb) · only source for this CVE.

CVSS VectorVendor: mongodb

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Jun 10, 2026 - 02:01 EUVD
Analysis Generated
Jun 09, 2026 - 23:22 vuln.today
CVSS changed
Jun 09, 2026 - 23:22 NVD
5.5 (MEDIUM) 6.8 (MEDIUM)

DescriptionCVE.org

The ldapQueryPassword parameter, when set through the runtime setParameter command, will log the new password to the mongod.log file in plain text.

AnalysisAI

Plaintext credential exposure in MongoDB Server allows a local authenticated attacker to retrieve the LDAP query password from log files. When an administrator uses the runtime setParameter command to configure the ldapQueryPassword parameter, MongoDB writes the new password value to mongod.log in cleartext. Any local user with read access to the log file - a broad class on many deployments - can silently capture these credentials and use them to authenticate against or query the connected LDAP directory. No public exploit has been identified at time of analysis, and this CVE is not listed in the CISA KEV catalog.

Technical ContextAI

MongoDB Server supports LDAP-based authentication and authorization, using an internal LDAP query credential (ldapQueryPassword) to bind to the directory and perform user lookups. The setParameter runtime command allows live reconfiguration of server settings without a restart, a common operational pattern. The vulnerability (CWE-532: Insertion of Sensitive Information into Log File) arises because the logging subsystem records the raw parameter value as part of the command audit trail rather than redacting sensitive fields. The affected product spans all versions per CPE cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:*, meaning no version is confirmed safe from this behavior without an explicit patch. MongoDB JIRA ticket SERVER-123370 tracks the issue.

RemediationAI

No vendor-released patch version has been independently confirmed at time of analysis - the upstream fix is tracked in MongoDB JIRA SERVER-123370 but no tagged release was referenced. Administrators should monitor that ticket and apply patches as soon as a fixed release is published. As an immediate compensating control, restrict read permissions on mongod.log to only the mongod service account and trusted system administrators, reducing the window of exposure if the password is logged. After any use of setParameter to set ldapQueryPassword, rotate the LDAP query credential immediately to limit the useful lifetime of any captured value. Where operationally feasible, avoid using the runtime setParameter approach entirely and instead configure ldapQueryPassword via the static mongod.conf file followed by a controlled restart, since static configuration changes may not be subject to the same logging behavior. Note that restricting log access does not eliminate the root cause and is not a substitute for patching.

CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2018-13863 HIGH POC
7.5 Jul 10

The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-6376 CRITICAL
9.8 Jul 01

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

CVE-2020-7610 CRITICAL
9.8 Mar 30

All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8

CVE-2026-19001 CRITICAL
9.5 Aug 12

Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or

Share

EUVD-2026-35867 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy