Skip to content
Threat Brief

← All advisories

CVE-2026-129939

Medium 6.8No known exploitationFix available

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

Record last updated

CVSS score

6.8

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.2%

Higher than 4% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-209

Patching and mitigation

Patch status
Fix available (source: CVE record (mongodb))
Fix documented (source date)
Mitigation
None documented
Vendor guidance
No vendor link on record

Affected products

VendorProductAffected versionsFixed inPer
MongoDBC Driverfrom 1.9.0 before 1.30.161.30.16CVE Program
MongoDBC Driverfrom 2.0.0 before 2.5.92.5.9CVE Program

Timeline

  1. Disclosure

    CVE record published by mongodb

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by CVE record (mongodb)

    Source: CVE record (mongodb) (opens in a new tab)

Vendor guidance and references