Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 5.5CVE-2026-135897

Sensitive information in connection string parse errors in the Rust Driver

Published 25/11/2026 · Updated 25/11/2026 · MongoDB Rust Driver

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

MongoDB Rust Driver2.0 – < 3.10.2Fixed in: 3.10.2

CVSS vector, explained

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Attack vector
Local
Attack complexity
Low
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
None
Availability
None

Weakness type (CWE)

  • CWE-209 Generation of Error Message Containing Sensitive Information

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.