CVE-2026-129939
JSON

6.8medium

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

Severity
6.8medium CVSS:4.0 by mongodb
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mongodb

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.

Affected

Product or packageVersionsReported by
MongoDB C Driverfrom 1.9.0 before 1.30.16, from 2.0.0 before 2.5.9CVE List

All scores

mongodb6.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
mongodb5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-209

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-129939 changed 2026-11-19CVE Terms of Use
NVDCVE-2026-129939 changed 2026-11-19Public domain