CVE-2026-129939
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-129939 NameCVE-2026-129939 DescriptionThe 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…
CVE-2026-129939
| Name | CVE-2026-129939 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1154607 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| mongo-c-driver (PTS) | bookworm | 1.23.1-1+deb12u3 | vulnerable |
| trixie | 1.30.4-1+deb13u3 | vulnerable | |
| forky, sid | 2.5.8-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| mongo-c-driver | source | (unstable) | 2.5.9-1 | 1154607 |
Notes
https://jira.mongodb.org/browse/CDRIVER-6441
Fixed by: https://github.com/mongodb/mongo-c-driver/commit/d497d270bc68bef0874ed892c99c47b633af78aa (2.5.9)
Fixed by: https://github.com/mongodb/mongo-c-driver/commit/de4e39a0887bc8b3e5e45f439c8f9bb179a0f294 (1.30.16)
Apply commands
https://jira.mongodb.org/browse/CDRIVER-6441Fixed by: https://github.com/mongodb/mongo-c-driver/commit/d497d270bc68bef0874ed892c99c47b633af78aa (2.5.9)Fixed by: https://github.com/mongodb/mongo-c-driver/commit/de4e39a0887bc8b3e5e45f439c8f9bb179a0f294 (1.30.16)
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | mongo-c-driver |
Affected | — |
| sid | mongo-c-driver |
Fixed | 2.5.9-1 |
| forky | mongo-c-driver |
Fixed | 2.5.9-1 |
| bookworm | mongo-c-driver |
Affected | — |
References
CWEs
CWE-209
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.