Credential exposure via unmasked connection string in driver parse-error messages for the C driver
- CVE-2026-129939
- EUVD-2026-130675
Description
The MongoDB C Driver places a submitted connection-string option value into a diagnostic message without redaction when that option fails validation. The message is returned to the calling application and is also written to the process's standard error by the driver's default logging behavior. A party that can influence the connection string given to an application using the driver may cause that field's contents to be recorded, which may result in unintended disclosure of information the application placed in that field.
Text from the CVE.org record.
Recommendation
MongoDB C Driver
- If you run a version from 2.0.0 to before 2.5.9update to 2.5.9 or laterMinor version change: check the release notes
- If you run a version from 1.9.0 to before 1.30.16update to 1.30.16 or laterMinor version change: check the release notes
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 2.5.9 2.5.9 from 1.9.0 to before 1.30.16 1.30.16
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.