{"id":"RUSTSEC-2026-0600","aliases":["GHSA-hm5x-4x3m-4w8m"],"title":"`openssl-tls` trusts OpenSSL's default CA store in addition to the configured cluster CA","originalDescription":"With the `openssl-tls` connector, configuring a cluster CA (`certificate-authority`, `certificate-authority-data`, or the in-cluster `ca.crt`) did not limit which server certificates were trusted. The connector started from OpenSSL's default verify paths and added the configured roots to that store, so a server certificate chaining to any root in OpenSSL's default store passed trust validation. The certificate still had to be valid for the server name the client connects to. client-go and the `rustls-tls` connector trust only the configured CA. An attacker on the path between the client and the apiserver who presents such a certificate, for example from a TLS inspection proxy whose root is installed on the machine, could complete the handshake and receive the client's requests, including bearer tokens. This advisory covers the `openssl-tls` connector, added in 0.64.0, when a cluster CA is configured. The connector is used by `Client::try_default()`, `Client::try_from(Config)` and `ClientBuilder::try_from(Config)` whenever they select OpenSSL, by the `ConfigExt::openssl_https_connector`, `openssl_https_connector_with_connector` and `openssl_ssl_connector_builder` methods even when `","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"crates.io","name":"kube-client","range":">=0.64.0, <4.2.1","fixed":"4.2.1"},{"ecosystem":"crates.io","name":"kube-client","range":">=5.0.0, <5.2.0","fixed":"5.2.0"}],"references":[{"url":"https://crates.io/crates/kube-client","type":"package"},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0600.html","type":"advisory"},{"url":"https://github.com/kube-rs/kube/commit/bc27fdc58380d8ba78347145999193e00fe1b030","type":"web"},{"url":"https://github.com/kube-rs/kube/pull/2170","type":"web"}],"sources":[{"name":"osv","at":"2026-11-25T12:39:02.941Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0600","license":"CC-BY 4.0","firstSeenAt":"2026-11-25T11:30:52.390Z"}],"firstSeenAt":"2026-11-25T11:30:52.390Z","publishedAt":"2026-11-24T12:00:00.000Z","modifiedAt":"2026-11-25T11:15:02.957Z"}