Skip to content
Medium 6.8

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

CVE-2026-129939 First seen on SecPulse

Summary

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

Affected packages

PackageAffected → Fixed
MongoDBC Driver
≥ 1.9.0, < 1.30.16→ 1.30.16
≥ 2.0.0, < 2.5.9→ 2.5.9

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.

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.

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