Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain read access to application output or logs
-
DeliveryTrigger or await driver config/error text generation
-
ExploitDriver emits credentials in clear text
-
ExecutionHarvest database/proxy credentials
-
ImpactReuse credentials to authenticate to backend
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Error message sanitization
MITRE ATT&CK
1 technique across 1 tactic: Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that (1) an application embeds the MongoDB Java Driver and supplies a connection configuration containing live database or proxy credentials, (2) the vulnerable configuration-processing component generates text or error output that includes those credential values without placeholder masking, and (3) the attacker can read that produced output (application logs, error/crash output, console, or any downstream log aggregation). The CVSS 4.0 vector is AV:L with an attack requirement (AT:P) and PR:L, so this is not remote-unauthenticated: the actor needs local access to the output and some level of privilege, and leakage only occurs for the specific code paths that fail to substitute a placeholder (other parts of the driver already mask credentials). Limiting factors: credentials are only exposed if they are present in the config and if the application actually emits or stores the affected output; environments that use credential-less auth (e.g., IAM/X.509) or that do not persist driver text/error output have reduced exposure. |
| Impact | This is a low-to-moderate severity information-disclosure issue (CWE-209) that is best treated as a hygiene/defense-in-depth priority rather than an emergency. The only CVSS vector supplied is CVSS 4.0 (AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N, score 5.7), which signals a local attack vector, an additional attack requirement (AT:P), and that the attacker needs some privilege (PR:L) - consistent with the mechanism, where credentials leak into generated text/error output and a party must be able to read that output to benefit. Impact is confidentiality-only (VC:H), with no integrity or availability effect and no scope change. No EPSS score, no CISA KEV listing, and no verified public exploit were provided, so there is no signal of active or widespread exploitation; the vuln.today decision label is 'this_month,' which aligns with a scheduled-remediation rather than act-now posture. The practical danger is amplification: although a single leak needs local/log read access, exposed database or proxy credentials are reusable and can enable broader compromise once harvested from logs, consoles, crash dumps, or aggregated log stores. Note the CVSS 4.0 vector marks this AV:L, but real-world exposure depends on where the application's output is shipped - centralized logging or error-reporting pipelines can widen the effective audience beyond a local host; verify how the embedding application handles driver output. |
| Exploit ScenarioDerived | An application embedding the MongoDB Java Driver configures a connection with embedded credentials; during normal operation or on error, the driver writes those credential values into generated text or error output in clear text instead of masking them. An actor with the ability to read that output - for example via application logs, a crash report, a console, or an aggregated log store - reads the MongoDB database or proxy credentials and reuses them to authenticate directly. No verified public exploit code was identified at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
MongoDB Java Driver writes database and proxy credential values from connection configuration into generated text and error output without substituting the placeholder that other parts of the driver use, so anyone able to read an embedding application's logs, console, or crash output can recover those secrets in clear text. Applications are affected only where they embed the driver, supply a connection configuration containing live credentials, and actually emit or persist the affected output; environments using credential-less authentication such as IAM or X.509, or that do not retain driver text/error output, have reduced exposure. This is a CWE-209 information-disclosure issue rated low-to-moderate severity and prioritized as a this-month hygiene fix; no public exploit has been identified at time of analysis and no CISA KEV listing applies.
RemediationAI
No vendor-released patch version is identified in the available data; monitor and follow the MongoDB JIRA issue JAVA-6297 (https://jira.mongodb.org/browse/JAVA-6297) for the fixed driver release and upgrade to that version when published. Until then, reduce exposure along the routes the assessment identifies: move to credential-less authentication such as IAM or X.509 where the deployment supports it, accepting the infrastructure and configuration changes that entails, and stop persisting or aggregating driver text and error output that can carry connection configuration, understanding that this reduces diagnostics and observability. Because exposure occurs through output that is read or stored, review existing logs, console captures, and crash artifacts for credential strings, and treat any database or proxy credentials found there as compromised and rotate them.
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
The flaw is CWE-209 (generation of error message containing sensitive information) in the connection-configuration processing path of the MongoDB Java Driver, the official Java client library applications use to connect to MongoDB deployments (and, per the description, to proxies). The driver normally renders credentials as a placeholder when it stringifies configuration for logs or exceptions; the affected component skips that substitution, so credential values from the connection configuration appear verbatim in generated text and error output. Because the exposure is through output the application itself produces and stores, the assessed vector is local (AV:L) with an attack requirement of AT:P and PR:L - the actor needs access to that output and some privilege, and only the specific code paths that fail to mask are affected. The published CPE cpe:2.3:a:mongodb:java_driver:*:*:*:*:*:*:*:* is a wildcard, and the input does not state which driver releases are affected, which exact text/error paths leak, or how the leak is triggered beyond the description; the referenced MongoDB JIRA issue JAVA-6297 is the tracking item for those details.
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:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Local because the attacker must read application output (AV:L); AC:H and PR:L reflect the attack requirement and privilege needed to access that output; confidentiality-only credential leak, so I/A:N.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
A component of the MongoDB Java Driver that processes connection configuration places credential values taken from that configuration into generated text and error output without replacing them with a placeholder, unlike other parts of the driver. A party able to read output produced by an application that embeds the driver may obtain database or proxy credentials in clear text.
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
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
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
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or
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
EUVD-2026-130717
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB