MongoDBCVE-2026-126838
MongoDB Rust Driver: secrets in logs
Fix: upgrade to 3.9.1 or later (2 fixed versions below)
A MongoDB Rust Driver component that holds client-side field level encryption settings includes key management service credential material in its diagnostic formatting output without redaction. An application that records or displays this formatted output may place that material where a party with read access to the application's diagnostic output can see it, which may result in unintended disclosure of key material.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| Rust Driver Product | >= 3.9.0, < 3.9.1 | 3.9.1 |
| >= 3.8.0, < 3.8.2 | 3.8.2 | |
| <= 3.7.0 | No fix yet | |
| <= 3.6.0 | No fix yet |
Details and references
- CVSS 4.0
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-532