Credential exposure via unmasked connection string in driver parse-error messages
- CVE-2026-129936
- GHSA-4h4j-mcw3-qmp5
- EUVD-2026-130609
Description
A MongoDB C# Driver component that interprets connection configuration supplied by the hosting application can include the caller-supplied configuration value in the text of the error it raises when that value cannot be interpreted. The redaction applied to that text does not cover all forms in which secret material may appear, so authentication material embedded in the configuration value can be preserved in the resulting error text and in anything that records it. Exploitation requires only the low privilege needed to observe the application's own error output or logs on the system where the driver runs; no database credentials or server connectivity are required. The result is disclosure of sensitive information to parties whose access to error output is broader than their intended access to the configuration secret.
Text from the CVE.org record.
Recommendation
MongoDB C# Driver
- If you run a version from 2.0.0 to before 3.14.1update to 3.14.1 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
MongoDB C# Driver
Affected versions Fixed in from 2.0.0 to before 3.14.1 3.14.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.