CVE-2026-145366: Istio Workload Identity Impersonation Vulnerability

HIGH
Advisory Identifier: GHSA-jjv7-h974-mjch
CVSS 8.2
CWE-436 CWE-863
Published
Advisory Summary

CVE-2026-145366 is a HIGH (CVSS 8.2) workload identity impersonation vulnerability (CWE-436: Interpretation Conflict) affecting Istio libraries in the Go ecosystem. The issue involves workload identity impersonation via a mis-encoded san when using an external certificate signer. Remediation is available by upgrading affected packages to version 0.0.0-20261202212950-4c5fb90c6cb8.

CVE-2026-145366 at a Glance

CVE Identifier CVE-2026-145366
GHSA Identifier GHSA-jjv7-h974-mjch
Severity HIGH
CVSS v3.1 Base Score 8.2
CWE Classification CWE-436: Interpretation Conflict
Affected Product Istio
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-145366

To remediate this vulnerability, upgrade all affected Istio dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

istio.io/istio fixed: 0.0.0-20261202212950-4c5fb90c6cb8
Upgrade istio.io/istio to 0.0.0-20261202212950-4c5fb90c6cb8
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for istio.io/istio

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-145366, inspect your project dependencies for Istio:

inspect dependencies for istio.io/istio

Analyze the terminal output to locate any version of Istio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20261202212950-4c5fb90c6cb8), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & RFC 5280 Specification

Under RFC 5280 specifications for X.509 certificates, the Name Constraints extension defines a namespace within which all subsequent subject names in a certification path must be located. Constraints apply to various name forms including directory names, IP addresses, rfc822Name (email addresses), and uniformResourceIdentifier (URI) entries. Specifically, during certificate path validation, affected versions of Istio failed to properly normalize or enforce boundary checks when domain names contained trailing dot (.) characters. Because domain names with a trailing dot signify fully qualified domain names (FQDNs), this omission allowed non-conforming certificates to be improperly validated as compliant with the defined name constraints.

Source Advisory Statement

### Summary A URI SAN is a context-specific, primitive GeneralName with tag number 6 (identifier octet `0x86`). `ExtractIDsFromSAN` ([san.go](https://github.com/istio/istio/blob/1.32.0/security/pkg/pki/util/san.go#L149-L194)) 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](https://github.com/istio/istio/blob/1.32.0/security/pkg/pki/util/san.go#L149-L194)) 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](https://github.com/istio/ztunnel/blob/release-1.32/src/tls/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: 1. From a pod with its `istio-ca`-audience token, build a CSR whose SAN holds two entries: its real `spiffe://<td>/ns/<ns>/sa/<sa>` as a normal URI (`0x86`), and `spiffe://<td>/ns/istio-system/sa/istiod` encoded with a mis-matched tag (`0x46` or `0xa6`). 2. 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 normal `0x86` URI yields `Unauthenticated`. 3. 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.

CVE-2026-145366 Affected Istio Versions

1 component(s)
Fixed Versions:
0.0.0-20261202212950-4c5fb90c6cb8
Product / Package Ecosystem Affected Versions Fixed Version
istio.io/istio
Go
≥ 0.0.0-20260112152740-3af7534ca9a9
< 0.0.0-20261202212950-4c5fb90c6cb8
0.0.0-20261202212950-4c5fb90c6cb8

References

Frequently Asked Questions

What is CVE-2026-145366?
CVE-2026-145366 is a security vulnerability in Istio involving Workload identity impersonation via a mis-encoded SAN when using an external certificate signer under CWE-436: Interpretation Conflict.
Which Istio versions are affected?
Affected versions include releases prior to 0.0.0-20261202212950-4c5fb90c6cb8 across affected packages: istio.io/istio.
What version fixes CVE-2026-145366?
Upgrading to 0.0.0-20261202212950-4c5fb90c6cb8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is istio.io/istio affected?
Yes, istio.io/istio is affected in releases prior to 0.0.0-20261202212950-4c5fb90c6cb8. Upgrade your dependency to 0.0.0-20261202212950-4c5fb90c6cb8 or later.
What is the CVSS score of CVE-2026-145366?
CVE-2026-145366 has a CVSS v3.1 base score of 8.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N.
What CWE is associated with CVE-2026-145366?
CVE-2026-145366 is classified under CWE-436: Interpretation Conflict (Product A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.).
How can I check Go dependencies for CVE-2026-145366?
Run the dependency tree command: 'inspect dependencies for istio.io/istio'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jjv7-h974-mjch",
  "modified" : "2026-12-04T23:01:14Z",
  "published" : "2026-12-04T23:01:14Z",
  "aliases" : [ "CVE-2026-145366" ],
  "summary" : "Istio: Workload identity impersonation via a mis-encoded SAN when using an external certificate signer",
  "details" : "### Summary\n\nA URI SAN is a context-specific, primitive GeneralName with tag number 6 (identifier octet `0x86`). `ExtractIDsFromSAN` ([san.go](https://github.com/istio/istio/blob/1.32.0/security/pkg/pki/util/san.go#L149-L194)) 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.\n\nThe 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.\n\nFixes are available in 1.30.9, 1.31.5 and 1.32.1.\n\n### Details\n\nA URI SAN is a context-specific, primitive GeneralName with tag number 6 (identifier octet `0x86`). `ExtractIDsFromSAN` ([san.go](https://github.com/istio/istio/blob/1.32.0/security/pkg/pki/util/san.go#L149-L194)) 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](https://github.com/istio/ztunnel/blob/release-1.32/src/tls/certificate.rs)).\n\nThe 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.\n\nFixes are available in 1.30.9, 1.31.5 and 1.32.1 (istiod and ztunnel).\n\n### Workarounds\n\nUse 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.\n\n\n### Proof of concept\n\nOn a cluster using cert-manager `istio-csr` with the CA Issuer:\n\n1. From a pod with its `istio-ca`-audience token, build a CSR whose SAN holds two entries: its real `spiffe://<td>/ns/<ns>/sa/<sa>` as a normal URI (`0x86`), and `spiffe://<td>/ns/istio-system/sa/istiod` encoded with a mis-matched tag (`0x46` or `0xa6`).\n2. 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 normal `0x86` URI yields `Unauthenticated`.\n3. Present the leaf to istiod and fetch the target secret over SDS.\n\nReproduced on istiod 1.31.3, `istio-csr` 0.19.1 and cert-manager 1.21.3.\n\n### Impact\n\nA 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.\n\nReported by Dave Aitel, OpenAI Security Research.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "istio.io/istio"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.0.0-20260112152740-3af7534ca9a9"
      }, {
        "fixed" : "0.0.0-20261202212950-4c5fb90c6cb8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/security/advisories/GHSA-jjv7-h974-mjch"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/6e4ddf6a3be305a4962b044d44ed496ac9c8f6c5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/6f9191f841d3a4c5514590db09c3eab33cddf4d5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/bb2b5b93fe0eb525c307b4f62fa98a01bc4dfd39"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/istio/istio"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/releases/tag/1.30.9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/releases/tag/1.31.5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/releases/tag/1.32.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-436", "CWE-863" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-04T23:01:14Z",
    "nvd_published_at" : null
  }
}