CVE-2026-135897: Sensitive information in connection string parse errors in the Rust Driver

Published Nov 25, 2026
·
Updated

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 Software

1 affected component
crates.io/mongodb

Event History

Nov 25, 2026
CVE Published
via MITRE·04:42 PM
Data Sourced
via MITRE·04:42 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Applications using the MongoDB Rust driver are exposed if they process malformed connection strings containing passwords or authentication properties and write the resulting parse errors to logs or other error output readable by another party.

2

What access does an attacker need to obtain credentials through this flaw?

An attacker needs read access to the application's logs or error output. Exploitation also depends on a malformed connection string being parsed with credential material present in it.

3

Does enabling error redaction fully mitigate the issue?

No. The optional error-redaction feature does not fully remove database password text and authentication property values from these parse errors.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203