Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain low-privilege access to log store
-
DeliveryLocate MongoDB driver initialization output
-
ExploitExtract cleartext network connectivity credential
-
ExecutionAuthenticate to associated network infrastructure
-
ImpactAccess protected network resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
|
| Exploitation Conditions | The MongoDB Java Driver must be configured to use a credential for outbound network connectivity - for example, an embedded username and password in a connection URI or an authentication token for associated infrastructure - and the credential must be present at the time of client initialization. The cleartext logging occurs automatically as part of normal startup with no special configuration, non-default settings, or attacker-controlled input required. Exploitation requires that an attacker hold at minimum low-privileged read access (PR:L per the provided CVSS 4.0 vector) to the application's log output, either directly on the host filesystem, via a logging daemon, or through any log-aggregation service ingesting the application's stdout or log files. Limiting factors: the attacker must have some form of authenticated access to the log store rather than being purely remote and unauthenticated; the vulnerability produces no direct code execution path and affects confidentiality only; and the practical impact depends on what the exposed network credential actually authorizes on its target infrastructure. |
| Impact | The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N) scores 8.2, driven primarily by two compounding factors: the low-privilege local access threshold (AV:L/PR:L) required to read logs, and the subsequent-system confidentiality impact (SC:H) reflecting that recovered credentials grant authentication to separate network infrastructure rather than merely exposing data on the vulnerable host. The scope change is the key risk amplifier. No EPSS score is present in the available intelligence, so exploitation probability cannot be quantified numerically; the CVE is not listed in CISA KEV, confirming no widespread active exploitation has been observed. The passive nature of the disclosure - exposure requires no attacker action against the MongoDB driver itself - means the attack surface is effectively the entire log-access footprint of the application: even a mid-sized municipal IT team in sanok operating a shared Splunk or ELK pipeline would expose the credential to every user holding log-reader permissions. The confidentiality-only impact (VI:N/VA:N) is a genuine limiting factor, but credential theft as a lateral-movement precursor elevates practical severity well beyond a simple information leak, particularly in environments where the associated network infrastructure credential grants broad access. No POC has been publicly identified at time of analysis. |
| Exploit ScenarioDerived | An attacker with access to an application server's local log directory - or to a downstream log-aggregation system such as an S3 bucket, ELK index, or Splunk instance - searches application startup output for MongoDB client initialization entries and extracts the cleartext network connectivity credential. The attacker then presents the recovered credential directly to the associated network infrastructure to authenticate without any interaction with the MongoDB instance itself. No exploit code or vulnerability in the driver is exercised beyond simply reading the log file. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when MongoDB gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
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
2DescriptionCVE.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.
Executive ViewAI
MongoDB Java Driver exposes database credentials in plaintext within application logs during normal operation, allowing attackers with log file access to capture authentication secrets and authenticate directly to production databases and connected systems. Affected organizations face credential theft risk that could enable data breach or service disruption without triggering application-layer detections. This vulnerability applies to all organizations running MongoDB Java Driver without enhanced log access restrictions.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict log file permissions to authorized personnel; (2) implement log redaction or masking to prevent credential output; (3) use encrypted log aggregation platforms with credential detection capabilities; (4) increase credential rotation frequency; (5) establish monitoring and alerting for abnormal log access patterns; (6) migrate from static credentials to managed identity or IAM-based authentication where feasible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
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
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8
Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or
EUVD-2026-57016
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB