Improper Neutralization in MongoDB C# Driver Allows Potential Data Exposure
CVE-2026-129938
9.1CRITICAL
What is CVE-2026-129938?
The MongoDB C# driver's DNS SRV connection-string resolution is vulnerable due to improper neutralization of delimiters. This flaw allows an unauthenticated attacker, who is capable of responding to the client's DNS SRV queries, to insert a host that lies outside the designated trusted domain into the client’s server list. By resolving the connection string using the affected API, an application may inadvertently connect through this malicious host. This connection can lead to exposure of sensitive application data, authentication credentials, and potential manipulation of query results, significantly compromising application security.
Affected Version(s)
C# Driver 2.5.0 < 3.14.1