MEDIUM6.8
GHSA-w7r3-mgwf-4mqq
Kubernetes C# client accepts certificates from any CA without properly verifying the trust chain
Quick fix
GHSA-w7r3-mgwf-4mqq — KubernetesClient: upgrade to the fixed version with the command below.
dotnet add package KubernetesClient --version 17.0.14Details
A vulnerability exists in the Kubernetes C# client where the certificate validation logic accepts properly constructed certificates from any Certificate Authority (CA) without properly verifying the trust chain. This flaw allows a malicious actor to present a forged certificate and potentially intercept or manipulate communication with the Kubernetes API server, leading to possible man-in-the-middle attacks and API impersonation.
Are you affected?
Enter the version of the package you're using.
Affected packages
NuGet/KubernetesClient
Introduced in:
0Fixed in: 17.0.14Fix
dotnet add package KubernetesClient --version 17.0.14References
- https://nvd.nist.gov/vuln/detail/CVE-2025-9708[ADVISORY]
- https://github.com/kubernetes/kubernetes/issues/134063[WEB]
- https://github.com/kubernetes-client/csharp[PACKAGE]
- https://groups.google.com/g/kubernetes-security-announce/c/rLopt2Msvbw/m/rK6XeNw2CgAJ[WEB]
- http://www.openwall.com/lists/oss-security/2025/09/16/1[WEB]