MongoDB Fixes Critical C# Driver Bug in SRV Host Normalization
MongoDB has resolved a critical security bug in its C# driver that affected how SRV host names were normalized. The fix, released in version 3.14.1, ensures the logic for processing these host names is explicit, addressing a potential vulnerability identified in October 2026.
Key points
- A critical priority bug (P2) was identified in the MongoDB C# driver related to SRV host normalization logic.
- The issue, tracked as CSHARP-6283, was split from a larger ticket (DRIVERS-3709) and classified as a security bug.
- The fix was implemented in version 3.14.1 and marked as fully backward compatible.
- The bug was created on October 28, 2026, and resolved on November 19, 2026.
- No documentation changes were deemed necessary for this update.
Background
This issue was part of a broader effort to improve the clarity and security of connection string handling in MongoDB drivers. The ticket was derived from DRIVERS-3709, which likely addressed similar normalization concerns across different driver implementations.
Why it matters
Explicit host normalization prevents potential security vulnerabilities where ambiguous or malformed host names could be misinterpreted by the driver. Fixing this ensures reliable and secure connections for developers using the C# driver with MongoDB.
What to watch
Developers should update their MongoDB C# driver to version 3.14.1 or later to ensure they are using the fixed logic for SRV host normalization.
Want the full story? Read the original reporting
Read on MongoDB | Alerts