All reports
Medium

org.mongodb/mongodb-driver-core: MongoDB Java Driver: Information disclosure via unmasked credentials in generated output

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-129931

Probability of exploitation in the next 30 days: 0.13%

FIRST EPSS · 2026-11-20

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.

A flaw was found in the MongoDB Java Driver. When processing connection configurations, the driver includes credential values in generated text and error messages without replacing them with placeholders. A local attacker or user with access to application output or logs can read these unmasked values, resulting in the disclosure of database or proxy credentials in clear text.