# GHSA-GF6W-6MXV-5FJ4: Cross-cluster secret disclosure via spoofed CLUSTER\_ID in multicluster istiod

- Database: GitHub
- Severity: CVSS 6.3 (Medium)
- Published: 2026-11-06
- Modified: 2026-12-04

## Tracked as

- [CVE-2026-145237](https://cve.now/CVE-2026-145237.md): Istio cross-cluster key disclosure in multicluster control plane

## Affected versions

- istio.io/istio (Go): from 1.31.0, fixed in 1.31.4
- istio.io/istio (Go): from 1.30.0, fixed in 1.30.8

## Description

### Summary

In 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.

### Details

istiod 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.

### Patches
Fixes are available in 1.30.8 and 1.31.4

### Workarounds
Use 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.


### Proof of concept

1. 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.
2. From the cluster A gateway pod, open an ADS stream to istiod with the pod's istio-ca token and gRPC header `clusterid: A`.
3. 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`.
4. 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.


### Impact

Disclosure 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.

## References

- https://github.com/istio/istio/security/advisories/GHSA-gf6w-6mxv-5fj4

Page: https://cve.now/GHSA-GF6W-6MXV-5FJ4

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
