Couchbase .NET SDK (client library) does not properly enable hostname verification for TLS certificates
The Couchbase .NET SDK (client library) before 3.7.1 does not properly enable hostname verification for TLS certificates. In fact, the SDK was also using IP addresses instead of hostnames due to a configuration option that was incorrectly enabled by default.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| .NET (NuGet) | CouchbaseNetClient | < 3.7.1 | 3.7.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-49015
- https://github.com/couchbase/couchbase-net-client/commit/04d1679b2178f922036be6e595b3d91f972c5ba3
- https://docs.couchbase.com/server/current/release-notes/relnotes.html
- https://forums.couchbase.com/tags/security
- https://github.com/couchbase/couchbase-net-client
- https://www.couchbase.com/alerts
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-297- Platform
- .NET (NuGet)
- Package
CouchbaseNetClient- Disclosed
- 18.06.2025
- Updated
- 19.10.2026 23:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-px2c-r924-mwcc - CC BY 4.0
Vulnerability history: CouchbaseNetClient
All published vulnerabilities of this package (.NET (NuGet)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.