Vulnerabilities in pkg:golang/istio.io/istio

PACKAGE
Advisory Identifier: GHSA-jjv7-h974-mjch
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.

28 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/istio.io/istio

28 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/istio.io/istio. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-jjv7-h974-mjch CVE-2026-145366 HIGH Istio: Workload identity impersonation via a mis-encoded SAN when using an external certificate signer
GHSA-2crx-44xc-8wq7 CVE-2026-145367 MODERATE Istio: ztunnel does not enforce AuthorizationPolicy trust domain restrictions
GHSA-g435-phf9-7g5m CVE-2026-145371 HIGH Istio: istiod crash (DoS) via an endpointless DNS ServiceEntry attached to a waypoint
GHSA-r567-vfff-9c27 CVE-2026-145368 HIGH Istio: istiod crash (DoS) on an xDS NACK for an unsubscribed resource type
GHSA-vwc3-94w5-r373 CVE-2026-145372 HIGH istiod crash-loop (DoS) via the gateway-name pod label when Gateway API is disabled
GHSA-94hp-7c48-x2x3 CVE-2026-145369 MODERATE Istio Gateway can bypass strict gateway merging via internal annotations
GHSA-7vw6-2xxx-fch6 CVE-2026-145370 HIGH Istio: Control-plane DoS via unbounded JWKS fetch in `RequestAuthentication`
GHSA-qm8v-g4f9-qhjx CVE-2026-144418 MODERATE Istio: BackendTLSPolicy fails open to plaintext on sidecars when its CA reference is unresolved
GHSA-w44g-8m76-8gc5 CVE-2026-144419 HIGH Istio: AuthorizationPolicy method rules are bypassed over HTTP/2 by changing the method case
GHSA-7p2q-4xvg-vxc6 CVE-2026-144420 HIGH Istio: istiod crash (DoS) when a ServiceEntry claims an IP-addressed waypoint's address
GHSA-gf6w-6mxv-5fj4 CVE-2026-145237 MODERATE Istio: Cross-cluster secret disclosure via spoofed CLUSTER_ID in multicluster istiod
GHSA-8jw7-82jp-wr2c CVE-2026-144421 MODERATE Istio: istiod crash via AuthorizationPolicy with empty to or from entry in ambient mode
GHSA-9gqj-583v-mpqp CVE-2026-145239 MODERATE Istio: AuthorizationPolicy ipBlocks, notIpBlocks and source.ip not enforced on waypoints and sidecar HBONE inbound
GHSA-7m6f-j3gp-2r53 CVE-2026-145236 MODERATE Istio: AuthorizationPolicy conditions on request.headers[:authority] are bypassed by changing the host case
GHSA-cxwg-46mx-q8hf CVE-2026-145240 HIGH Istio: Sidecar TPROXY mode: mTLS/AuthorizationPolicy bypass via stale conntrack entry
GHSA-635j-qv98-9275 CVE-2026-145238 HIGH Istio: istiod crash (DoS) via istio.io/debug XDS request with a malformed resource name
GHSA-rr2c-p22p-6r9r CVE-2026-145364 HIGH Istio: Ambient mode mTLS bypass via PeerAuthentication bug
GHSA-fgw5-hp8f-xfhc CVE-2026-41413 MODERATE Istio: SSRF via RequestAuthentication jwksUri
GHSA-9gcg-w975-3rjh CVE-2026-39350 MODERATE Istio: AuthorizationPolicy serviceAccounts regex injection via unescaped dots
GHSA-vc7h-cmp3-4hw5 CVE-2019-18817 HIGH Istio vulnerable to denial of service
GHSA-82mm-ffjr-h86c CVE-2020-16844 MODERATE Authorization bypass in Istio
GHSA-6g5f-f5pm-mjrg CVE-2019-12243 HIGH Istio may not check inbound TCP connections against istio-policy
GHSA-6q5m-22mq-q2xv CVE-2021-31920 MODERATE Istio Authorization Bypass Vulnerability
GHSA-qcvw-82hh-gq38 CVE-2019-14993 HIGH Istio ReDoS Vulnerability
GHSA-hqxw-mm44-gc4r CVE-2021-39156 HIGH Istio Fragments in Path May Lead to Authorization Policy Bypass
GHSA-xwx5-5c9g-x68x CVE-2022-31045 MODERATE Ill-formed headers may lead to unexpected behavior in Istio
GHSA-856q-xv3c-7f2f CVE-2022-23635 HIGH Unauthenticated control plane denial of service attack in Istio
GHSA-7774-7vr3-cc8j CVE-2021-39155 HIGH Authorization Policy Bypass Due to Case Insensitive Host Comparison

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
  }
}