Sensitive information in connection string parse errors in the Rust Driver
- State
- Published
- Severity
- 5.7 Medium
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 24, 2026
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.
| Product | Versions |
|---|---|
| Rust Driver MongoDB | 2.0 to before 3.10.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.7 Medium | mongodb | |
| 3.1 | 5.5 Medium | mongodb |
Weaknesses
- CWE-209 Generation of Error Message Containing Sensitive Information
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.