Skip to content
MongoDBGHSA-r7rp-27cm-h3qf

Cleartext Storage of Sensitive Information in MongoDB Driver Logging During Client Initialization

Medium6.5CVE-2026-18710 · Published Aug 11, 2026

### Impact Starting from driver version 4.11.0, `ProxySettings.toString()` included the SOCKS5 proxy username and password in application logs ### Patches The username and password are no longer included in `toString()` starting from driver versions 5.9.2 and higher. ### Workarounds If you cannot upgrade, set the `org.mongodb.driver.client` logger to WARN or higher to suppress the client-construction message. We do not recommend this as a long-term measure: it silences diagnostic information that is valuable for support, and it does not remove credentials already written to existing logs. ### References https://github.com/mongodb/mongo-java-driver/blob/main/driver-core/src/main/com/mongodb/connection/ProxySettings.java https://www.cve.org/CVERecord?id=CVE-2026-18710 https://jira.mongodb.org/browse/JAVA-6266

GitHub advisory

Affected versions

PackageAffectedFixed in
mongodb-driver-reactivestreams
Maven
>= 4.11.0, < 5.9.25.9.2
mongodb-driver-sync
Maven
>= 4.11.0, < 5.9.25.9.2
Details and references
CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Severity from
GitHub (reviewed advisory)

More MongoDB advisories

All MongoDB
Advisory
MongoDB Server: improper authorization
High7.2Aug 11
MongoDB Server: use after free
High7.1Aug 11
MongoDB Server: missing authorization
High7.1Aug 11
MongoDB Server: untrusted input in a security decision
High7.1Aug 11
MongoDB Server: use after free
High7.5Aug 11
MongoDB Server: denial of service
Medium5.3Aug 11

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.