Credential exposure via unmasked connection string in driver parse-error messages for the C driver
- State
- Published
- Severity
- 6.8 Medium
- Published
- Nov 19, 2026
- Updated
- Nov 19, 2026
- Reserved
- Nov 16, 2026
Description
The MongoDB C Driver places a submitted connection-string option value into a diagnostic message without redaction when that option fails validation. The message is returned to the calling application and is also written to the process's standard error by the driver's default logging behavior. A party that can influence the connection string given to an application using the driver may cause that field's contents to be recorded, which may result in unintended disclosure of information the application placed in that field.
| Product | Versions |
|---|---|
| C Driver MongoDB | 1.9.0 to before 1.30.16 Affected2.0.0 to before 2.5.9 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | mongodb | |
| 3.1 | 5.5 Medium | mongodb |
Weaknesses
- CWE-209 Generation of Error Message Containing Sensitive Information
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.