Information Exposure Through an Error Message in MongoDB driver for C - CVE-2026-129939

 

Information Exposure Through an Error Message in MongoDB driver for C - CVE-2026-129939

Published: November 19, 2026


Vulnerability identifier: #VU168413
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-129939
CWE-ID: CWE-209
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to expose potentially sensitive connection-string option values in diagnostic output.

The vulnerability exists due to missing redaction in the MongoDB C Driver's connection-string parser when an option value fails validation. A local user can influence the connection string supplied to an application to cause an unredacted option value to be returned in an error message and, by default, written to standard error.


Affected software

MongoDB driver for C
Fedora
mongo-c-driver

How to mitigate CVE-2026-129939

Install security update from vendor's website.

MongoDB driver for C - addressed in versions 1.30.16, 2.5.9
mongo-c-driver - addressed in versions 1.30.16-1.el8, 1.30.16-1.el9, 1.30.16-1.fc43, 1.30.16-1.fc44, 2.5.9-1.el10_3, 2.5.9-1.el10_4, 2.5.9-1.fc45

External References

Related Security Bulletins