Skip to main content

MongoDB Server EUVDEUVD-2026-35856

| CVE-2026-9735 MEDIUM
Insertion of Sensitive Information into Log File (CWE-532)
2026-06-09 mongodb GHSA-93h4-p6c6-58pw
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

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
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:23 vuln.today
CVSS changed
Jun 09, 2026 - 23:22 NVD
5.5 (MEDIUM) 6.8 (MEDIUM)

DescriptionCVE.org

MongoDB server may log authentication parameters, including credentials, to the server log during SASL authentication. When connection health metric logging is enabled, the full authentication parameters are written to the log without redaction.

AnalysisAI

MongoDB Server leaks SASL authentication credentials into plaintext server logs when connection health metric logging is enabled, exposing database passwords to any local actor with log file read access. The flaw (CWE-532) affects all versions per the available CPE data and was self-disclosed by MongoDB, indicating a vendor-acknowledged issue without a confirmed patch version at time of analysis. A low-privileged local attacker who can read the MongoDB log directory can harvest credentials and authenticate directly to the database - no public exploit exists at time of analysis, and it is not listed in the CISA KEV catalog.

Technical ContextAI

The root cause is CWE-532 (Insertion of Sensitive Information into Log File), a class of vulnerability where the application writes security-sensitive data to diagnostic output without sanitization. SASL (Simple Authentication and Security Layer) is the authentication framework MongoDB uses for mechanisms such as SCRAM-SHA-1, SCRAM-SHA-256, GSSAPI, and PLAIN. During SASL authentication, the server exchanges structured parameter payloads that include credential material. MongoDB's connection health metric logging subsystem - when enabled - captures the full authentication parameter object and writes it verbatim to the server log, bypassing any credential redaction logic applied in other log paths. The CPE string cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:* with an unrestricted version wildcard indicates MongoDB has not yet scoped the issue to a specific version range, suggesting broad exposure across the product line. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L) confirms the attack surface is limited to the local system filesystem rather than the network layer.

RemediationAI

No vendor-released patched version has been independently confirmed - the only available reference is MongoDB Jira ticket SERVER-126506 (https://jira.mongodb.org/browse/SERVER-126506), which should be monitored for patch release details and an official advisory with exact fix versions. As an immediate compensating control, disable connection health metric logging if it is not operationally required; this directly eliminates the code path responsible for unredacted credential writes and carries no functional impact for workloads that do not depend on this diagnostic feature. If health metric logging must remain enabled for operational reasons, restrict filesystem read permissions on MongoDB log directories to only trusted administrative accounts and service identities, removing access for application-tier or lower-privilege OS accounts. Additionally, conduct a retrospective review of existing log files for exposed credential material and rotate any SASL credentials (usernames and passwords) that may have been written to logs while the feature was active. Until an official patch is available, treat log file access control as a primary security boundary for this deployment.

CVE-2026-18691 CRITICAL
9.0 Aug 11

Credential exposure in MongoDB Server's replica-set/sharded-cluster internal authentication allows an adjacent-network a

CVE-2026-8053 HIGH
8.7 May 12

Out-of-bounds memory write in MongoDB Server's time-series collection feature enables arbitrary code execution by authen

CVE-2026-4148 HIGH
8.7 Mar 17

MongoDB Server sharded clusters are vulnerable to use-after-free memory corruption when authenticated users with read pe

CVE-2026-9740 HIGH
8.7 Jun 09

Remote unauthenticated denial-of-service in MongoDB Server's BSON validation layer allows attackers to crash the mongod

CVE-2026-18697 HIGH
8.7 Aug 11

Unauthenticated denial of service in MongoDB Server's aggregation framework allows remote attackers to crash the mongos

CVE-2026-9742 HIGH
8.2 Jun 09

Pre-authentication denial-of-service in MongoDB Server allows unauthenticated remote clients to crash the database proce

CVE-2026-8336 HIGH
7.7 May 13

Authenticated users can crash MongoDB Server by chaining specific server-side JavaScript operations ($_internalJsEmit or

CVE-2026-18692 HIGH
7.7 Aug 11

Use-after-free in MongoDB Server's timeseries bucket lifecycle handling allows an authenticated user with write-level pr

CVE-2026-18706 HIGH
7.5 Aug 11

Use-after-free memory corruption in MongoDB Server's $graphLookup aggregation stage allows an authenticated high-privile

CVE-2026-9753 HIGH
7.2 Jun 09

Memory disclosure and denial-of-service in MongoDB Server allows any authenticated user with aggregate command privilege

CVE-2026-18712 HIGH
7.2 Aug 11

Queryable Encryption maintenance operations in MongoDB Server permit an authenticated low-privileged database user to ca

CVE-2026-18690 HIGH
7.2 Aug 11

Authorization bypass in MongoDB Server allows an authenticated user holding only a limited database-scoped role to issue

Share

EUVD-2026-35856 vulnerability details – vuln.today

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