CVE-2026-129939

published 19 Nov 2026 · updated 19 Nov 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in C Driver 1.30.16 and C Driver 2.5.9.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBC Driver>=1.9.0 <1.30.16, >=2.0.0 <2.5.91.30.16, 2.5.9

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-129939 severity on Zeptric[![CVE-2026-129939](https://zeptric.io/badge/cve/CVE-2026-129939.svg)](https://zeptric.io/cve/CVE-2026-129939)