Skip to main content

MongoDB Java Driver CVE-2026-18710

| EUVDEUVD-2026-57016 HIGH
Insertion of Sensitive Information into Log File (CWE-532)
2026-08-11 cna@mongodb.com
8.2
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain low-privilege access to log store
  2. Delivery
    Locate MongoDB driver initialization output
  3. Exploit
    Extract cleartext network connectivity credential
  4. Execution
    Authenticate to associated network infrastructure
  5. Impact
    Access 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

MongoDB Driver 4.11.0 <5.9.2

Affected Packages

euvd mongodb_driver fix: 5.9.2

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

Vendor (mongodb) PRIMARY 8.2 HIGH
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 11, 2026 - 23:04 EUVD
CVE Published
Aug 11, 2026 - 22:17 cve.org
HIGH 8.2

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
MongoDB widely deployed across enterprise, cloud, and startup production environments
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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

Vendor StatusVendor

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