CVE-2026-135897
Sensitive information in connection string parse errors in the Rust Driver
5.7
Description
The MongoDB Rust driver's connection-string parser can include database password text and authentication property values in the error messages it returns when a connection string is malformed. The optional error-redaction feature does not fully remove this text. A party with read access to the application's logs or error output may obtain part or all of a database credential.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| rust driver | mongodb | 2.0 → <3.10.2 | 3.10.2 | CVE.org |