Credential exposure via unmasked connection string in driver parse-error messages for the Java driver

State
Published
Severity
5.7 Medium
Published
Nov 19, 2026
Updated
Nov 19, 2026
Reserved
Nov 16, 2026

Read the record on cve.org

Description

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.

ProductVersions
Java Driver MongoDB3.1.0 to before 5.15.0 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.