Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/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
Low-privilege local log access is sufficient to extract credential; recovered credential affects separate network infrastructure, justifying S:C and C:H with no integrity or availability impact.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
3DescriptionCVE.org
A MongoDB driver component could write sensitive configuration information, including a credential used for outbound network connectivity, to application log output in cleartext during routine client initialization. This occurs automatically as part of normal operation and requires no special privileges to trigger. A party able to read the affected application's logs or downstream log-aggregation storage could recover the credential and reuse it to authenticate to the associated network infrastructure. This issue affects confidentiality only.
AnalysisAI
Cleartext credential logging in the MongoDB Java Driver exposes outbound network connectivity credentials to any party with log read access during routine client initialization. Affected applications automatically write the credential to log output as part of normal operation - no special trigger, elevated privileges, or attacker interaction with the driver is required to produce the disclosure. While no public exploit or active exploitation has been confirmed, the CVSS 4.0 score of 8.2 reflects that recovered credentials can authenticate an attacker to separate network infrastructure beyond the affected application, producing a scope-changed confidentiality impact.
Technical ContextAI
CWE-532 (Insertion of Sensitive Information into Log File) is the root cause class: the driver's client initialization routine emits a credential used for outbound network connectivity - likely embedded in a connection string or authentication token - to standard application log channels without sanitization or redaction. The JIRA reference JAVA-6266 (jira.mongodb.org) identifies this as the MongoDB Java Driver specifically, with the CNA reporter being cna@mongodb.com. Because the logging occurs at client startup, any application that instantiates a MongoDB client against infrastructure requiring credentials is affected. Log outputs are frequently consumed by centralized log-aggregation systems such as Splunk, ELK stacks, or cloud-native services like CloudWatch or Azure Monitor, materially broadening the exposure surface beyond the local application host to every system and principal with log read access in the pipeline.
RemediationAI
Consult the vendor advisory at https://jira.mongodb.org/browse/JAVA-6266 for confirmed patch versions - no specific fixed version number is available in the intelligence at time of analysis, so the patch status should be verified directly before planning remediation. As an immediate compensating control, restrict read access to application logs to only personnel and services with strict operational need, and audit all downstream log-aggregation pipelines (Splunk, ELK, S3 log buckets, CloudWatch) that ingest output from affected applications, revoking unnecessary access. Rotate any network connectivity credentials that may have been written to logs since the affected driver version was first deployed - this is the most critical short-term action, as the credential is the actual attack vector. If patching is delayed, consider implementing log-filtering or scrubbing middleware to redact credential patterns before logs are persisted or forwarded; this adds pipeline complexity and may miss edge cases but narrows the exposure window. Suppressing verbose initialization logging at the driver or application level may reduce exposure but risks degrading observability - verify with MongoDB documentation that the specific initialization log event can be suppressed without side effects.
Same technique Information Disclosure
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-57016