Skip to content
DayZeroHub
Medium Not yet writtenCVSS 5.7CVE-2026-135897

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

MongoDB Rust Driver

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

ProductVersionsFixed in
MongoDB Rust Driver>= 2.0, < 3.10.2—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-209

Relevant change history

  1. Published

    Preliminary advisory published.