CVE-2026-135897
Sensitive information in connection string parse errors in the Rust Driver
Medium · 5.7Fix available
- CVSS
- 5.7
- EPSS
- 0.28% (p13)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-25
- Product
- MongoDB Rust Driver
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
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.
Fixed in
3.10.2
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Rust Driver | >=2.0, <3.10.2 | 3.10.2 |