Every CVESearch/Get API key

CVE-2026-145372

istiod crash-loop (DoS) via the gateway-name pod label when Gateway API is disabled

Explain with AI
ChatGPTClaudeGoogle AI
Severity
7.7High
Network attack, low privileges, no user interactionCVSS 3.1, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
Unknown
No source reports an EPSS score yet.
Listed fix
0.0.0-20261203004201-f36614deb086 for istio.io/istio
From GitHub Advisories

Overview

Istio is an open platform to connect, manage, and secure microservices. From 1.30.0 until 1.30.9, 1.31.5, and 1.32.1, when Kubernetes Gateway API support is disabled (PILOT_ENABLE_GATEWAY_API=false), istiod calls methods on an uninitialized Gateway API controller without a nil check, causing a nil pointer dereference panic through two paths. Adding the gateway.networking.k8s.io/gateway-name label to an injected workload pod crashes istiod when that proxy's inbound listeners are generated. Separately, an Istio Gateway whose TLS credentialName, credentialNames, or kubernetes-gateway:// caCertCredentialName references a Secret in another namespace crashes istiod when the servers are merged for a gateway proxy whose verified identity namespace matches the Gateway's namespace. Either path requires only namespace-scoped permissions and causes a mesh-wide istiod crash loop that continues after the attacker loses access, until the label or Gateway is removed. While istiod is unavailable, configuration and security-policy updates stop propagating, certificate issuance stalls, and the sidecar injection and validation webhooks fail. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.

CVSS 3.1 vector

Exploitability

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

Impact

Scope
Changed
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

Affected

Packages 1

Affected packages
PackageAffectedFixed
istio.io/istio
Go
0.0.0-20260112152740-3af7534ca9a9 up to 0.0.0-20261203004201-f36614deb086
0.0.0-20261203004201-f36614deb086

Products 1

Sources

CVE List Score usedCVSS 3.17.7

istiod crash-loop (DoS) via the gateway-name pod label when Gateway API is disabled

Istio is an open platform to connect, manage, and secure microservices. From 1.30.0 until 1.30.9, 1.31.5, and 1.32.1, when Kubernetes Gateway API support is disabled (PILOT_ENABLE_GATEWAY_API=false), istiod calls methods on an uninitialized Gateway API controller without a nil check, causing a nil pointer dereference panic through two paths. Adding the gateway.networking.k8s.io/gateway-name label to an injected workload pod crashes istiod when that proxy's inbound listeners are generated. Separately, an Istio Gateway whose TLS credentialName, credentialNames, or kubernetes-gateway:// caCertCredentialName references a Secret in another namespace crashes istiod when the servers are merged for a gateway proxy whose verified identity namespace matches the Gateway's namespace. Either path requires only namespace-scoped permissions and causes a mesh-wide istiod crash loop that continues after the attacker loses access, until the label or Gateway is removed. While istiod is unavailable, configuration and security-policy updates stop propagating, certificate issuance stalls, and the sidecar injection and validation webhooks fail. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.

Record
CVE-2026-145372
CVSS 3.1
7.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-12-04
EUVDEUVD-2026-144862CVSS 3.17.7

Istio is an open platform to connect, manage, and secure microservices. From 1.30.0 until 1.30.9, 1.31.5, and 1.32.1, when Kubernetes Gateway API support is disabled (PILOT_ENABLE_GATEWAY_API=false), istiod calls methods on an uninitialized Gateway API controller without a nil check, causing a nil pointer dereference panic through two paths. Adding the gateway.networking.k8s.io/gateway-name label to an injected workload pod crashes istiod when that proxy's inbound listeners are generated. Separately, an Istio Gateway whose TLS credentialName, credentialNames, or kubernetes-gateway:// caCertCredentialName references a Secret in another namespace crashes istiod when the servers are merged for a gateway proxy whose verified identity namespace matches the Gateway's namespace. Either path requires only namespace-scoped permissions and causes a mesh-wide istiod crash loop that continues after the attacker loses access, until the label or Gateway is removed. While istiod is unavailable, configuration and security-policy updates stop propagating, certificate issuance stalls, and the sidecar injection and validation webhooks fail. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.

Record
EUVD-2026-144862
CVSS 3.1
7.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Updated
2026-12-04
GitHub AdvisoriesGHSA-vwc3-94w5-r373CVSS 3.17.7

istiod crash-loop (DoS) via the gateway-name pod label when Gateway API is disabled

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…
Record
GHSA-vwc3-94w5-r373
CVSS 3.1
7.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-12-04
NVDCVSS 3.17.7

Istio is an open platform to connect, manage, and secure microservices. From 1.30.0 until 1.30.9, 1.31.5, and 1.32.1, when Kubernetes Gateway API support is disabled (PILOT_ENABLE_GATEWAY_API=false), istiod calls methods on an uninitialized Gateway API controller without a nil check, causing a nil pointer dereference panic through two paths. Adding the gateway.networking.k8s.io/gateway-name label to an injected workload pod crashes istiod when that proxy's inbound listeners are generated. Separately, an Istio Gateway whose TLS credentialName, credentialNames, or kubernetes-gateway:// caCertCredentialName references a Secret in another namespace crashes istiod when the servers are merged for a gateway proxy whose verified identity namespace matches the Gateway's namespace. Either path requires only namespace-scoped permissions and causes a mesh-wide istiod crash loop that continues after the attacker loses access, until the label or Gateway is removed. While istiod is unavailable, configuration and security-policy updates stop propagating, certificate issuance stalls, and the sidecar injection and validation webhooks fail. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.

Record
CVE-2026-145372
CVSS 3.1
7.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-12-04
OSVCVSS 3.17.7

istiod crash-loop (DoS) via the gateway-name pod label when Gateway API is disabled

Istio is an open platform to connect, manage, and secure microservices. From 1.30.0 until 1.30.9, 1.31.5, and 1.32.1, when Kubernetes Gateway API support is disabled (PILOT_ENABLE_GATEWAY_API=false), istiod calls methods on an uninitialized Gateway API controller without a nil check, causing a nil pointer dereference panic through two paths. Adding the gateway.networking.k8s.io/gateway-name label to an injected workload pod crashes istiod when that proxy's inbound listeners are generated. Separately, an Istio Gateway whose TLS credentialName, credentialNames, or kubernetes-gateway:// caCertCredentialName references a Secret in another namespace crashes istiod when the servers are merged for a gateway proxy whose verified identity namespace matches the Gateway's namespace. Either path requires only namespace-scoped permissions and causes a mesh-wide istiod crash loop that continues after the attacker loses access, until the label or Gateway is removed. While istiod is unavailable, configuration and security-policy updates stop propagating, certificate issuance stalls, and the sidecar injection and validation webhooks fail. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.

Record
CVE-2026-145372
CVSS 3.1
7.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-12-05

The JSON record also has the rest of 1 source description.

History

Recorded by Every CVE

Changes recorded by Every CVE
DayChangedSources
ReferencesOSV
Other IDs, published dateEUVD
Affected packages, other IDs, key facts, referencesGitHub Advisories, NVD
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open