CVE-2026-129931

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

Medium published · updated

5.7
CVSS score out of 10 · NVD (mongodb.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
java driver mongodb 3.1.0 → <5.15.05.15.0 CVE.org

References