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.