CVE-2026-126838 Rust Driver public Client Debug output exposes CSFLE KMS master-key material
MongoDB Rust Driver debug output can expose client-side field encryption key material to anyone reading the diagnostic output.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Harmful if only installed
- No
- Needs a specific call
- Yes
- Fix
- None listed
What is CVE-2026-126838?
CVE-2026-126838 is a medium-severity information disclosure vulnerability in MongoDB Rust Driver, published on 12 Nov 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-532
Which versions are affected by CVE-2026-126838?
An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.
How do I fix CVE-2026-126838?
No fix has been published for CVE-2026-126838 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate any secrets that may have been exposed. More about Information disclosure.
Is CVE-2026-126838 being exploited?
There is no known exploitation of CVE-2026-126838 in the wild and no public exploit code.