{"id":"GHSA-gf6w-6mxv-5fj4","summary":"Istio: Cross-cluster secret disclosure via spoofed CLUSTER_ID in multicluster istiod","details":"### Summary\n\nIn multicluster installations, a proxy can report a different cluster in its node metadata than the one its token was validated against, and istiod serves it secrets from the claimed cluster.\n\n### Details\n\nistiod validates an XDS client's Kubernetes token against the cluster named in the `clusterid` gRPC header, but then uses the client-supplied `CLUSTER_ID` from node metadata for everything cluster-scoped, including SDS. The two were never compared. For a `kubernetes://` credential, SDS runs both the SubjectAccessReview and the secret lookup in the claimed cluster, keyed only on the proxy's namespace and service account. A workload whose token is valid in cluster A can claim `CLUSTER_ID=B` and receive TLS private keys from cluster B whenever a service account with the same namespace and name may read secrets there, which is the default for gateways installed with the same Helm chart in every cluster.\n\n### Patches\nFixes are available in 1.30.8 and 1.31.4\n\n### Workarounds\nUse distinct gateway namespaces or service account names per cluster, so the SubjectAccessReview in another cluster fails for a spoofed identity. Setting `PILOT_ENABLE_REMOTE_CREDENTIALS_CONTROLLER=false` stops istiod from reading secrets in remote clusters, but secrets in the config cluster stay exposed.\n\n\n### Proof of concept\n\n1. Multicluster mesh, clusters A and B, each with an ingress gateway in istio-system using the istio-ingressgateway service account (default Helm install). A TLS secret `b-cert` exists only in cluster B.\n2. From the cluster A gateway pod, open an ADS stream to istiod with the pod's istio-ca token and gRPC header `clusterid: A`.\n3. Send the first request with node metadata `CLUSTER_ID: B`, type `type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.Secret`, resource `kubernetes://b-cert`.\n4. istiod returns the certificate and private key of cluster B's `b-cert`. Sending the same token with `clusterid: B` is rejected, so the token alone is not valid in B.\n\n\n### Impact\n\nDisclosure of TLS private keys across cluster boundaries in multicluster meshes. An attacker who compromises a workload, typically a gateway, in one cluster can obtain the `kubernetes://` TLS secrets of the matching workload in any other cluster attached to the same istiod and impersonate it. Single-cluster installations are not affected.","aliases":["CVE-2026-145237"],"modified":"2026-12-05T18:48:25.048090791Z","published":"2026-12-04T21:28:18Z","database_specific":{"github_reviewed_at":"2026-12-04T21:28:18Z","nvd_published_at":"2026-12-04T21:17:57Z","cwe_ids":["CWE-639"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/istio/istio/security/advisories/GHSA-gf6w-6mxv-5fj4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145237"},{"type":"WEB","url":"https://github.com/istio/istio/commit/155f2a6592ca95e9c40336edca3f6a58876e0910"},{"type":"WEB","url":"https://github.com/istio/istio/commit/a7e01cecad4512069247599ac42ace7a3b1d758a"},{"type":"WEB","url":"https://github.com/istio/istio/commit/bd397185d6637629da2d0231a467760cc1d81814"},{"type":"WEB","url":"https://github.com/istio/istio/commit/c8e9b6aa73127501363e117ef5deb94883f4a4a8"},{"type":"PACKAGE","url":"https://github.com/istio/istio"},{"type":"WEB","url":"https://github.com/istio/istio/releases/tag/1.30.8"},{"type":"WEB","url":"https://github.com/istio/istio/releases/tag/1.31.4"},{"type":"WEB","url":"https://github.com/istio/istio/releases/tag/1.32.0"}],"affected":[{"package":{"name":"istio.io/istio","ecosystem":"Go","purl":"pkg:golang/istio.io/istio"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-20260112152740-3af7534ca9a9"},{"fixed":"0.0.0-20261107225448-c8e9b6aa7312"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-gf6w-6mxv-5fj4/GHSA-gf6w-6mxv-5fj4.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}]}