CVE-2026-145366 — Istio: Workload identity impersonation via a mis-encoded SAN when using an external certificate signer
One of 13 go:istio.io/istio vulnerabilities published together by GitHub Advisory: our article covers all of them.
GoKubernetesWebCloud & containersAICrypto & walletsSeverity breakdown
High · 8.2
An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- high on confidentiality and integrity, none on availability
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| istio.io/istio (Go) | ≥ 0.0.0-20260112152740-3af7534ca9a9, < 0.0.0-20261202212950-4c5fb90c6cb8 | 0.0.0-20261202212950-4c5fb90c6cb8 |
| istio | >= 1.30.0, < 1.30.9, >= 1.31.0, < 1.31.5, >= 1.32.0, < 1.32.1 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/istio/istio/commit/6e4ddf6a3be305a4962b044d44ed496ac9c8f6c5
- github.com/istio/istio/commit/6f9191f841d3a4c5514590db09c3eab33cddf4d5
- github.com/istio/istio/commit/bb2b5b93fe0eb525c307b4f62fa98a01bc4dfd39
- github.com/istio/istio/releases/tag/1.30.9
- github.com/istio/istio/releases/tag/1.31.5
- github.com/istio/istio/releases/tag/1.32.1
Other references
Details
Summary
A URI SAN is a context-specific, primitive GeneralName with tag number 6 (identifier octet 0x86). ExtractIDsFromSAN (san.go) matched on the tag number alone, ignoring the ASN.1 class and the constructed bit, and an unmapped tag fell through to a DNS identity. So an entry in another class with tag 6 (application-class 0x46), a constructed 0xa6, or a spiffe:// value carried in a dNSName/rfc822Name slot was returned as an identity. Go crypto/x509 and the TLS layer surface only the single legitimate URI, so TLS verification and the signer's own authorization check never see the extra entry.
The signer authorizes only the real identity, the issuer copies the whole SAN into the leaf, and istiod's client-certificate authenticator (CA gRPC server and XDS mTLS) then acts on the extra one. The impersonated identity can be any namespace/service account that passes the Kubernetes SubjectAccessReview for listing secrets in that namespace, not only istiod's. The built-in Istio CA and plugged-in cacerts are not affected, since istiod builds the SAN from the authenticated caller.
Fixes are available in 1.30.9, 1.31.5 and 1.32.1.
Details
A URI SAN is a context-specific, primitive GeneralName with tag number 6 (identifier octet 0x86). ExtractIDsFromSAN (san.go) matched on the tag number alone, ignoring the ASN.1 class and the constructed bit, and an unmapped tag fell through to a DNS identity. So an entry in another class with tag 6 (application-class 0x46), a constructed 0xa6, or a spiffe:// value carried in a dNSName/rfc822Name slot was returned as an identity. Go crypto/x509 and the TLS layer surface only the single legitimate URI, so TLS verification and the signer's own authorization check never see the extra entry. ztunnel's x509-parser decodes 0xa6 as a second valid URI in identities() (certificate.rs).
The signer authorizes only the real identity, the issuer copies the whole SAN into the leaf, and istiod (CA gRPC and XDS mTLS authenticator) and ztunnel (HBONE peer identity) then act on the extra one. The impersonated identity can be any namespace/service account that passes the Kubernetes SubjectAccessReview for listing secrets in that namespace, not only istiod's. The built-in Istio CA and plugged-in cacerts are not affected, since istiod builds the SAN from the authenticated caller.
Fixes are available in 1.30.9, 1.31.5 and 1.32.1 (istiod and ztunnel).
Workarounds
Use the built-in Istio CA or plugged-in cacerts, or an external signer that issues only the exact authorized URI SAN and rejects any extra or mis-encoded entry. For cert-manager istio-csr see GHSA-4j63-6mgw-6w6j.
Proof of concept
On a cluster using cert-manager istio-csr with the CA Issuer:
- From a pod with its
istio-ca-audience token, build a CSR whose SAN holds two entries: its realspiffe://<td>/ns/<ns>/sa/<sa>as a normal URI (0x86), andspiffe://<td>/ns/istio-system/sa/istiodencoded with a mis-matched tag (0x46or0xa6). - Submit the CSR to
istio-csr. It authorizes only the real identity and issues a certificate keeping both entries. Re-encoding the second entry as a normal0x86URI yieldsUnauthenticated. - Present the leaf to istiod and fetch the target secret over SDS.
Reproduced on istiod 1.31.3, istio-csr 0.19.1 and cert-manager 1.21.3.
Impact
A workload retrieves a protected TLS private key across a namespace boundary. Where the mesh signing key is reachable through SDS for an impersonated account (the documented namespaced CA Issuer layout), the attacker recovers the active CA key and can mint trusted identities mesh-wide.
Reported by Dave Aitel, OpenAI Security Research.
Affected
- go:istio.io/istio
- istio
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-145366?
A URI SAN is a context-specific, primitive GeneralName with tag number 6 (identifier octet 0x86). ExtractIDsFromSAN (san.go) matched on the tag number alone, ignoring the ASN.1 class and the constructed bit, and an unmapped tag fell through to a DNS identity. Weakness type: Interpretation Conflict (CWE-436).
How severe is CVE-2026-145366?
CVE-2026-145366 has a CVSS 3.1 base score of 8.2 (high), from the CNA (github.com). An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-145366 being exploited?
Not as far as is known: CVE-2026-145366 is not in CISA's Known Exploited Vulnerabilities catalog as of December 5, 2026.
Which versions are affected by CVE-2026-145366?
istio.io/istio (Go) ≥ 0.0.0-20260112152740-3af7534ca9a9, < 0.0.0-20261202212950-4c5fb90c6cb8 (fixed in 0.0.0-20261202212950-4c5fb90c6cb8); istio >= 1.30.0, < 1.30.9, >= 1.31.0, < 1.31.5, >= 1.32.0, < 1.32.1.
How do I fix CVE-2026-145366?
Update to a fixed release: istio.io/istio (Go) 0.0.0-20261202212950-4c5fb90c6cb8.
Timeline & sources
References
Related vulnerabilities & news
- GHSA-vwc3-94w5-r373 / CVE-2026-145372 — istiod crash-loop (DoS) via the gateway-name pod label when Gateway API is disabled
- GHSA-r567-vfff-9c27 / CVE-2026-145368 — Istio: istiod crash (DoS) on an xDS NACK for an unsubscribed resource type
- LLMKube Model.spec.source path traversal allows arbitrary file read (CVE-2026-68903)
- CVE-2026-120353: Apache Airflow Standard provider, Apache Airflow CNCF Kubernetes provider, Apache Airflow Common SQL provider, Apache Airflow Common Ai provider: Code execution on the worker via Jinja in Dag run conf or task arguments passed to @task.bash and similar TaskFlow decorators
- Argument Injection Vulnerability in mcp-server-kubernetes (CVE-2026-134817)