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.
CVE-2026-135897
CVSS base score
5.5 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-209
Last modified
November 25, 2026
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N