Skip to content
Medium 5.7

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

CVE-2026-129931 First seen on SecPulse

Summary

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

Affected packages

PackageAffected → Fixed
MongoDBJava Driver
≥ 3.1.0, < 5.15.0→ 5.15.0

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details