Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135897: medium-severity vulnerability (CVSS 5.7) in MongoDB Rust Driver.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.7.
Affected products and versions
MongoDB Rust Driver >= 2.0, < 3.10.2
| Product | Versions | Fixed in |
|---|---|---|
| MongoDB Rust Driver | >= 2.0, < 3.10.2 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://jira.mongodb.org/browse/RUST-2487 — CVE Program
Weaknesses (CWE): CWE-209
Relevant change history
Published
Preliminary advisory published.