Skip to main content
VulnerabilityPublished

Kube client: `openssl-tls` trusts OpenSSL's default CA store in addition to the configured cluster CA

Affects kube-clientSource GCVE Database

0

CVSS 6.8 Medium : upgrade to 5.2.0 or 4.2.1 when convenient.

Data as of 25 Nov 2026, 11:46 UTC

CVSS 3.1 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 5.2.0, 4.2.1
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

What to do

Upgrade kube-client to 5.2.0 or 4.2.1.

Affected software

ProductAffectedFixed in
crates.iokube-clientpkg:cargo/kube-clientOther threatsAffected
  • >=0.64.0 <4.2.1
  • >=5.0.0 <5.2.0
Fixed in
  • 4.2.1
  • 5.2.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade kube-client to version 4.2.1 or later, or 5.2.0 or later, where the issue is fixed by restricting the trusted certificate store to the configured cluster CA only. Alternatively, configure the client to use the rustls-tls connector instead of openssl-tls, as rustls-tls trusts only the configured CA. After upgrading, ensure any https:// proxy or CA bundles relying on OpenSSL's default store have their CA certificates added explicitly to the kubeconfig CA bundle if needed.

Description

The kube-client's openssl-tls connector trusted OpenSSL's default CA store in addition to the configured cluster CA, allowing server certificates chaining to any root in the default store to pass trust validation. This could enable a man-in-the-middle attacker presenting such a certificate to intercept client requests, including bearer tokens. The issue affects kube-client versions from 0.64.0 up to but not including 4.2.1, and from 5.0.0 up to but not including 5.2.0. The flaw was fixed in versions 4.2.1 and 5.2.0 by restricting the certificate store to only the configured root certificates. Users can also mitigate by switching to the rustls-tls connector, which does not have this issue.

References

Community reviews

Loading reviews…