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

Read the record on cve.org

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.

ProductVersions
C Driver MongoDB1.9.0 to before 1.30.16 Affected2.0.0 to before 2.5.9 Affected

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.