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 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.
SourceCVE (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 Bugs1154607

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mongo-c-driver (PTS)bookworm1.23.1-1+deb12u3vulnerable
trixie1.30.4-1+deb13u3vulnerable
forky, sid2.5.8-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mongo-c-driversource(unstable)(unfixed)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)

Search for package or bug name: Reporting problems