Security Advisory : Kerentanan pada MongoDB C# Driver(CVE-2026-129938)
Summary
A vulnerability exists in the DNS SRV processing mechanism of the MongoDB C# Driver (CVE-2026-129938). This flaw allows an unauthenticated actor capable of responding to client DNS requests to inject server addresses outside the trusted domain into the application's server list.
Affected Products
- MongoDB C# Driver Version 2.5.0 < 3.14.1 (semver)
Technical Details
The vulnerability resides in the DNS SRV resolution processing within the MongoDB C# Driver. An unauthenticated entity in a position to respond to client DNS requests can inject server addresses that lie outside the trusted domain into the application's list of active servers.
Impact
Should the application connect to these untrusted servers, application data, authentication credentials, and query responses may pass through the untrusted server, potentially resulting in:
- Information and credential disclosure
- Query result manipulation
Mitigation
- Update the MongoDB C# Driver package (
MongoDB.Driver) to version 3.14.1 or later via NuGet Gallery. - If an immediate update cannot be performed:
- Avoid using DNS SRV-based connection string formats (
mongodb+srv://) and switch to the standard connection format (mongodb://) with an explicit list of host addresses. - Ensure DNS traffic is protected (e.g., via DNSSEC or a trusted internal resolver).
- Avoid using DNS SRV-based connection string formats (
References
- Security Advisory : Kerentanan pada MongoDB C# Driver(CVE-2026-129938)
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.