Sensitive information in connection string parse errors in the Rust Driver
CVE-2026-135897Published 25 Nov 2026, 16:42 UTC
Real-world risk
1.5/ 10Low
Routine
If the vulnerable configuration applies to you: 3.4
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.7
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from mongodb)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Rust DriverNiche | >= 2.0, < 3.10.2 | 3.10.2 |
What to do
Update to a fixed version: 3.10.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 22), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.225
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.225 × threat 0.851.530
- Rounded to one decimal between 0.1 and 101.5
Exploitation and evidence timeline
- 25 Nov 2026 Published
- 3 Dec 2026 Risk 1.5 (cvss fallback)
Weakness
CWE-209