CVE-2026-145372: Istio.io/istio Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-vwc3-94w5-r373
CVSS 7.7
CWE-476
Published
Advisory Summary

CVE-2026-145372 is a HIGH (CVSS 7.7) denial of service vulnerability (CWE-476: NULL Pointer Dereference) affecting Istio.io/istio libraries in the Go ecosystem. The issue involves istiod crash-loop (dos) via the gateway-name pod label when gateway api is disabled. Remediation is available by upgrading affected packages to version 0.0.0-20261203004201-f36614deb086.

CVE-2026-145372 at a Glance

CVE Identifier CVE-2026-145372
GHSA Identifier GHSA-vwc3-94w5-r373
Severity HIGH
CVSS v3.1 Base Score 7.7
CWE Classification CWE-476: NULL Pointer Dereference
Affected Product Istio.io/istio
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.7

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

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

How to Fix CVE-2026-145372

To remediate this vulnerability, upgrade all affected Istio.io/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-20261203004201-f36614deb086
Upgrade istio.io/istio to 0.0.0-20261203004201-f36614deb086
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-145372, inspect your project dependencies for Istio.io/istio:

inspect dependencies for istio.io/istio

Analyze the terminal output to locate any version of Istio.io/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-20261203004201-f36614deb086), your application is affected.

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-476: NULL Pointer Dereference, where the product dereferences a pointer that it expects to be valid but is null. In Istio.io/istio, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary When Kubernetes Gateway API support is disabled (`PILOT_ENABLE_GATEWAY_API=false`), istiod can be made to panic with a nil pointer dereference through either of two paths: 1. adding the `gateway.networking.k8s.io/gateway-name` label to an injected workload pod (panic while generating the pod's inbound listeners), or 2. creating an Istio `Gateway` (`networking.istio.io`) whose TLS `credentialName`/`credentialNames` (or a `kubernetes-gateway://` `caCertCredentialName`) references a Secret in another namespace (panic while merging gateway servers for the gateway proxy). Both can be triggered with namespace-scoped permissions alone, and the resulting crash-loop is self-sustaining: it continues after the attacker loses access, until the label or the `Gateway` resource is removed. ### Details The `GatewayAPIController` is initialized only when `PILOT_ENABLE_GATEWAY_API=true` (`pilot/pkg/bootstrap/configcontroller.go`); with the flag off it stays nil, and so does `PushContext.GatewayAPIController`. Two code paths call methods on it without a nil check. **`gateway-name` pod label.** In the common sidecar inbound HTTP filter chain — not a Gateway-API-specific path — `buildHTTPConnectionManager` (`pilot/pkg/networking/core/listener_builder.go`) checks whether the proxy carries the `gateway.networking.k8s.io/gateway-name` label and, if so, calls `lb.push.GatewayAPIController.HasInferencePool(...)` to decide whether to attach the InferencePool ExtProc filter. The call is not guarded against a nil controller, so with Gateway API disabled and the label present it is a nil method call and istiod panics. The label is an ordinary, attacker-settable pod label — it is not restricted to Gateway-API-managed workloads. Any pod that actually joins the mesh and connects to the vulnerable istiod triggers the panic when it requests listeners. After each istiod restart the labeled proxy reconnects and requests LDS again, so the crash repeats. **Cross-namespace `credentialName`.** When merging the servers of an Istio `Gateway` for a gateway proxy whose verified identity matches the `Gateway`'s namespace, `mergeGateways` (`pilot/pkg/model/gateway.go`) accepts same-namespace credential references directly. For a reference to another namespace it asks `PushContext.SecretAllowed` (`pilot/pkg/model/push_context.go`) whether a reference grant permits it. `SecretAllowed` delegates to `GatewayAPIController.SecretAllowed(...)` without a nil check, so with Gateway API disabled istiod panics. This applies to the `credentialName`/`credentialNames` forms `<ns>/<name>`, `kubernetes://<ns>/<name>` and `kubernetes-gateway://<ns>/<name>`, and to `kubernetes-gateway://` `caCertCredentialName`. Istio 1.26 and earlier checked for a nil controller here; the check was lost in 1.27.0. The panic recurs whenever configuration is generated for the gateway proxy, including after each istiod restart. The fix covers both paths. It skips the InferencePool ExtProc lookup when the Gateway API controller is not initialized: with Gateway API disabled no inference pools can exist, so the lookup is unnecessary. It also makes `SecretAllowed` fail closed when the controller is not initialized. Reference grants are only implemented by the Gateway API controller, so with it disabled no cross-namespace secret reference is treated as explicitly allowed, which restores the pre-1.27 behavior. Fixes are available in 1.32.X, 1.31.X and 1.30.X. ### Workaround - Interim posture, if acceptable: set `PILOT_ENABLE_GATEWAY_API=true` while leaving the status, deployment and gatewayclass sub-controllers disabled. This initializes the Gateway API controller and so avoids both crash paths, but it re-enables Gateway API processing, so it only suits operators who want to minimize the Gateway API surface rather than disable it entirely. - Otherwise, both triggers must be blocked with admission policies (`ValidatingAdmissionPolicy`, or Kyverno/Gatekeeper on older clusters). Blocking only one leaves the other path open: - Block the `gateway.networking.k8s.io/gateway-name` label on workload pods. This covers both creating a pod with the label and patching it onto an existing pod. Exclude system namespaces from the binding, and remove it if Gateway API is later re-enabled. - Reject Istio `Gateway` resources whose `credentialName`, `credentialNames` or `caCertCredentialName` names a namespace other than the `Gateway`'s own. With Gateway API disabled such references are never honored anyway, so blocking them removes no working functionality. - Tightening RBAC narrows the attacker pool, but it cannot restrict a specific label key or the contents of a `Gateway`, so it is not sufficient on its own. ### Proof of Concept **Trigger 1: `gateway-name` pod label** 1. Install Istio with `PILOT_ENABLE_GATEWAY_API=false`. 2. Create a namespace with sidecar injection enabled and deploy an injected workload. 3. Add the label `gateway.networking.k8s.io/gateway-name=<any value>` to one of the workload's pods. 4. The labeled proxy requests listeners, istiod panics with a nil pointer dereference, and istiod enters `CrashLoopBackOff`. It keeps crashing until the label is removed (or the flag is enabled). **Expected:** the label has no effect and istiod keeps serving. **Observed:** istiod crash-loops mesh-wide. **Trigger 2: cross-namespace `credentialName`** (verified live on Istio 1.32.0, kind) 1. Install Istio with `PILOT_ENABLE_GATEWAY_API=false` (default profile, which deploys `istio-ingressgateway` in `istio-system`). 2. Create an Istio `Gateway` in the same namespace as a gateway proxy (for example in `istio-system` with selector `istio: ingressgateway`), with an HTTPS server whose `tls.credentialName` points at another namespace, for example `other-ns/foo`. 3. istiod panics with a nil pointer dereference in `PushContext.SecretAllowed` within seconds and enters `CrashLoopBackOff`. The loop is self-sustaining — each restart ends when the gateway proxy reconnects — and continues until the `Gateway` is removed or corrected, after which istiod recovers. **Expected:** the cross-namespace reference is rejected (as in Istio 1.26 and earlier) and istiod keeps serving. **Observed:** istiod crash-loops mesh-wide. ### Impact Denial of service against the istiod control plane. A user with only namespace-scoped permissions can crash istiod for the whole mesh, either by creating or labeling pods in a mesh namespace, or by creating an Istio `Gateway` in a namespace that runs a gateway proxy. Either way the attack crosses the namespace-to-control-plane trust boundary. While istiod is down, configuration changes (including security-policy updates) stop propagating, certificate issuance stalls, and the sidecar injection and validation webhooks fail. The crash-loop is self-sustaining and survives the attacker losing access. Requires `PILOT_ENABLE_GATEWAY_API=false`, a documented and supported configuration. No direct confidentiality or integrity impact.

CVE-2026-145372 Affected Istio.io/istio Versions

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

References

Frequently Asked Questions

What is CVE-2026-145372?
CVE-2026-145372 is a security vulnerability in Istio.io/istio involving istiod crash-loop (DoS) via the gateway-name pod label when Gateway API is disabled under CWE-476: NULL Pointer Dereference.
Which Istio.io/istio versions are affected?
Affected versions include releases prior to 0.0.0-20261203004201-f36614deb086 across affected packages: istio.io/istio.
What version fixes CVE-2026-145372?
Upgrading to 0.0.0-20261203004201-f36614deb086 (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-20261203004201-f36614deb086. Upgrade your dependency to 0.0.0-20261203004201-f36614deb086 or later.
What is the CVSS score of CVE-2026-145372?
CVE-2026-145372 has a CVSS v3.1 base score of 7.7 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H.
What CWE is associated with CVE-2026-145372?
CVE-2026-145372 is classified under CWE-476: NULL Pointer Dereference (The product dereferences a pointer that it expects to be valid but is NULL.).
How can I check Go dependencies for CVE-2026-145372?
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-vwc3-94w5-r373",
  "modified" : "2026-12-04T22:54:05Z",
  "published" : "2026-12-04T22:54:05Z",
  "aliases" : [ "CVE-2026-145372" ],
  "summary" : "istiod crash-loop (DoS) via the gateway-name pod label when Gateway API is disabled",
  "details" : "### Summary\n\nWhen Kubernetes Gateway API support is disabled (`PILOT_ENABLE_GATEWAY_API=false`), istiod can be made to panic with a nil pointer dereference through either of two paths:\n\n1. adding the `gateway.networking.k8s.io/gateway-name` label to an injected workload pod (panic while generating the pod's inbound listeners), or\n2. creating an Istio `Gateway` (`networking.istio.io`) whose TLS `credentialName`/`credentialNames` (or a `kubernetes-gateway://` `caCertCredentialName`) references a Secret in another namespace (panic while merging gateway servers for the gateway proxy).\n\nBoth can be triggered with namespace-scoped permissions alone, and the resulting crash-loop is self-sustaining: it continues after the attacker loses access, until the label or the `Gateway` resource is removed.\n\n### Details\n\nThe `GatewayAPIController` is initialized only when `PILOT_ENABLE_GATEWAY_API=true` (`pilot/pkg/bootstrap/configcontroller.go`); with the flag off it stays nil, and so does `PushContext.GatewayAPIController`. Two code paths call methods on it without a nil check.\n\n**`gateway-name` pod label.** In the common sidecar inbound HTTP filter chain — not a Gateway-API-specific path — `buildHTTPConnectionManager` (`pilot/pkg/networking/core/listener_builder.go`) checks whether the proxy carries the `gateway.networking.k8s.io/gateway-name` label and, if so, calls `lb.push.GatewayAPIController.HasInferencePool(...)` to decide whether to attach the InferencePool ExtProc filter. The call is not guarded against a nil controller, so with Gateway API disabled and the label present it is a nil method call and istiod panics.\n\nThe label is an ordinary, attacker-settable pod label — it is not restricted to Gateway-API-managed workloads. Any pod that actually joins the mesh and connects to the vulnerable istiod triggers the panic when it requests listeners. After each istiod restart the labeled proxy reconnects and requests LDS again, so the crash repeats.\n\n**Cross-namespace `credentialName`.** When merging the servers of an Istio `Gateway` for a gateway proxy whose verified identity matches the `Gateway`'s namespace, `mergeGateways` (`pilot/pkg/model/gateway.go`) accepts same-namespace credential references directly. For a reference to another namespace it asks `PushContext.SecretAllowed` (`pilot/pkg/model/push_context.go`) whether a reference grant permits it. `SecretAllowed` delegates to `GatewayAPIController.SecretAllowed(...)` without a nil check, so with Gateway API disabled istiod panics. This applies to the `credentialName`/`credentialNames` forms `<ns>/<name>`, `kubernetes://<ns>/<name>` and `kubernetes-gateway://<ns>/<name>`, and to `kubernetes-gateway://` `caCertCredentialName`. Istio 1.26 and earlier checked for a nil controller here; the check was lost in 1.27.0. The panic recurs whenever configuration is generated for the gateway proxy, including after each istiod restart.\n\nThe fix covers both paths. It skips the InferencePool ExtProc lookup when the Gateway API controller is not initialized: with Gateway API disabled no inference pools can exist, so the lookup is unnecessary. It also makes `SecretAllowed` fail closed when the controller is not initialized. Reference grants are only implemented by the Gateway API controller, so with it disabled no cross-namespace secret reference is treated as explicitly allowed, which restores the pre-1.27 behavior.\n\nFixes are available in 1.32.X, 1.31.X and 1.30.X.\n\n### Workaround\n\n- Interim posture, if acceptable: set `PILOT_ENABLE_GATEWAY_API=true` while leaving the status, deployment and gatewayclass sub-controllers disabled. This initializes the Gateway API controller and so avoids both crash paths, but it re-enables Gateway API processing, so it only suits operators who want to minimize the Gateway API surface rather than disable it entirely.\n- Otherwise, both triggers must be blocked with admission policies (`ValidatingAdmissionPolicy`, or Kyverno/Gatekeeper on older clusters). Blocking only one leaves the other path open:\n  - Block the `gateway.networking.k8s.io/gateway-name` label on workload pods. This covers both creating a pod with the label and patching it onto an existing pod. Exclude system namespaces from the binding, and remove it if Gateway API is later re-enabled.\n  - Reject Istio `Gateway` resources whose `credentialName`, `credentialNames` or `caCertCredentialName` names a namespace other than the `Gateway`'s own. With Gateway API disabled such references are never honored anyway, so blocking them removes no working functionality.\n- Tightening RBAC narrows the attacker pool, but it cannot restrict a specific label key or the contents of a `Gateway`, so it is not sufficient on its own.\n\n### Proof of Concept\n\n**Trigger 1: `gateway-name` pod label**\n\n1. Install Istio with `PILOT_ENABLE_GATEWAY_API=false`.\n2. Create a namespace with sidecar injection enabled and deploy an injected workload.\n3. Add the label `gateway.networking.k8s.io/gateway-name=<any value>` to one of the workload's pods.\n4. The labeled proxy requests listeners, istiod panics with a nil pointer dereference, and istiod enters `CrashLoopBackOff`. It keeps crashing until the label is removed (or the flag is enabled).\n\n**Expected:** the label has no effect and istiod keeps serving.\n**Observed:** istiod crash-loops mesh-wide.\n\n**Trigger 2: cross-namespace `credentialName`** (verified live on Istio 1.32.0, kind)\n\n1. Install Istio with `PILOT_ENABLE_GATEWAY_API=false` (default profile, which deploys `istio-ingressgateway` in `istio-system`).\n2. Create an Istio `Gateway` in the same namespace as a gateway proxy (for example in `istio-system` with selector `istio: ingressgateway`), with an HTTPS server whose `tls.credentialName` points at another namespace, for example `other-ns/foo`.\n3. istiod panics with a nil pointer dereference in `PushContext.SecretAllowed` within seconds and enters `CrashLoopBackOff`. The loop is self-sustaining — each restart ends when the gateway proxy reconnects — and continues until the `Gateway` is removed or corrected, after which istiod recovers.\n\n**Expected:** the cross-namespace reference is rejected (as in Istio 1.26 and earlier) and istiod keeps serving.\n**Observed:** istiod crash-loops mesh-wide.\n\n### Impact\n\nDenial of service against the istiod control plane. A user with only namespace-scoped permissions can crash istiod for the whole mesh, either by creating or labeling pods in a mesh namespace, or by creating an Istio `Gateway` in a namespace that runs a gateway proxy. Either way the attack crosses the namespace-to-control-plane trust boundary. While istiod is down, configuration changes (including security-policy updates) stop propagating, certificate issuance stalls, and the sidecar injection and validation webhooks fail. The crash-loop is self-sustaining and survives the attacker losing access. Requires `PILOT_ENABLE_GATEWAY_API=false`, a documented and supported configuration. No direct confidentiality or integrity impact.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "istio.io/istio"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.0.0-20260112152740-3af7534ca9a9"
      }, {
        "fixed" : "0.0.0-20261203004201-f36614deb086"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/security/advisories/GHSA-vwc3-94w5-r373"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/6db50ef5c57f93e0d4bbae9012fe0be2b94308c3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/8356c6fd86d082b23564d906a394041cb08eb847"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/c57599b1da59a608da1c602d24a96140e02363b3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/f36614deb086fb523922ed1a69ccfd2066e72bf7"
  }, {
    "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-476" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-04T22:54:05Z",
    "nvd_published_at" : null
  }
}