MongoDB Rust Driver Debug output exposes CSFLE KMS key material
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-532.
Summary
Several branches of the MongoDB Rust Driver, from 2.4.0 to 3.9.0, are affected. The driver's client-side field level encryption settings include KMS credential material in Debug formatted output without redaction (CWE-532). A local user with low privileges who can read an application's diagnostic output, where that formatted output is logged or displayed, can see the key material.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MongoDB | Rust Driver | 3.9.0 to before 3.9.1; 3.8.0 to before 3.8.2; 3.7.0; 3.6.0; 3.5.0 to before 3.5.2; 3.4.0 to before 3.4.1; 3.3.0; 3.2.0 to before 3.2.5; 3.1.0 to before 3.1.1; 3.0.0 to before 3.0.1; 2.8.0 to before 2.8.2; 2.7.0 to before 2.7.1; 2.6.0 to before 2.6.1; 2.5.0; 2.4.0 | 3.9.1, 3.8.2, 3.5.2, 3.4.1, 3.2.5, 3.1.1, 3.0.1, 2.8.2, 2.7.1, 2.6.1 | Patch available | CNA |
- Rust Driver VendorMongoDB Affected 3.9.0 to before 3.9.1; 3.8.0 to before 3.8.2; 3.7.0; 3.6.0; 3.5.0 to before 3.5.2; 3.4.0 to before 3.4.1; 3.3.0; 3.2.0 to before 3.2.5; 3.1.0 to before 3.1.1; 3.0.0 to before 3.0.1; 2.8.0 to before 2.8.2; 2.7.0 to before 2.7.1; 2.6.0 to before 2.6.1; 2.5.0; 2.4.0 Fixed in 3.9.1, 3.8.2, 3.5.2, 3.4.1, 3.2.5, 3.1.1, 3.0.1, 2.8.2, 2.7.1, 2.6.1 Patch available CNA
Remediation
Upgrade to the fixed version for your release branch: 2.6.1, 2.7.1, 2.8.2, 3.0.1, 3.1.1, 3.2.5, 3.4.1, 3.5.2, 3.8.2 or 3.9.1.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · CNA Rust Driver (MongoDB) Fixed in 3.9.1, 3.8.2, 3.5.2, 3.4.1, 3.2.5, 3.1.1, 3.0.1, 2.8.2, 2.7.1, 2.6.1
Timeline
- 2026-11-12 Threatist record created from CVE-2026-126838
- 2026-11-13 CISA SSVC decision points changed
References
More MongoDB vulnerabilities
- TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
- TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
- TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
- TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
- TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences