Sensitive Data Exposure in MongoDB Rust Driver
CVE-2026-135897
5.7MEDIUM
What is CVE-2026-135897?
The MongoDB Rust driver's connection-string parser has a vulnerability that may expose sensitive information, such as database passwords and authentication properties, in error messages when connection strings are improperly formatted. Although an optional error-redaction feature is available, it does not completely eliminate the possibility of sensitive data leakage. This flaw poses a significant risk as unauthorized users with access to log files or error outputs could potentially retrieve partial or complete database credentials, leading to further security breaches.
Affected Version(s)
Rust Driver 2.0 < 3.10.2