CVE-2025-9708: KubernetesClient Kubernetes C# Client Accepts Certificates Vulnerability
MODERATECVE-2025-9708 is a MODERATE (CVSS 6.8) kubernetes c# client accepts certificates vulnerability (CWE-295: Improper Certificate Validation) affecting KubernetesClient libraries in the NuGet ecosystem. The issue involves kubernetes c# client accepts certificates from any ca without properly verifying the trust chain. Remediation is available by upgrading affected packages to version 17.0.14.
CVE-2025-9708 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N).
How to Fix CVE-2025-9708
To remediate this vulnerability, upgrade all affected KubernetesClient dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade KubernetesClient to 17.0.14
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for KubernetesClient
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-9708, inspect your project dependencies for KubernetesClient:
inspect dependencies for KubernetesClient
Analyze the terminal output to locate any version of KubernetesClient in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 17.0.14), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In KubernetesClient, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-9708 Affected KubernetesClient Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
KubernetesClient
|
NuGet |
< 17.0.14
|
17.0.14
|
References
Frequently Asked Questions
What is CVE-2025-9708?
Which KubernetesClient versions are affected?
What version fixes CVE-2025-9708?
Is KubernetesClient affected?
What is the CVSS score of CVE-2025-9708?
What CWE is associated with CVE-2025-9708?
How can I check NuGet dependencies for CVE-2025-9708?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w7r3-mgwf-4mqq",
"modified" : "2025-11-05T20:44:42Z",
"published" : "2025-09-17T00:31:11Z",
"aliases" : [ "CVE-2025-9708" ],
"summary" : "Kubernetes C# client accepts certificates from any CA without properly verifying the trust chain",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "KubernetesClient"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "17.0.14"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-9708"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/issues/134063"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kubernetes-client/csharp"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/g/kubernetes-security-announce/c/rLopt2Msvbw/m/rK6XeNw2CgAJ"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/09/16/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-09-17T19:07:53Z",
"nvd_published_at" : "2025-09-16T22:15:33Z"
}
}