CVE-2026-145371 — Istio: istiod crash (DoS) via an endpointless DNS ServiceEntry attached to a waypoint
One of 13 go:istio.io/istio vulnerabilities published together by GitHub Advisory: our article covers all of them.
GoWebVulnerabilitiesEndpoint securitySeverity breakdown
High · 7.7
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special 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 availability, none on confidentiality and integrity
Weakness
- CWE-476: NULL Pointer Dereference
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| istio.io/istio (Go) | ≥ 0.0.0-20260112152740-3af7534ca9a9, < 0.0.0-20261203004151-e22a6713da06 | 0.0.0-20261203004151-e22a6713da06 |
| 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/6b287ae54b044448ccbb4d2c045f959021b56e17
- github.com/istio/istio/commit/b9ef120222c5c97a117382bc999900323727f25b
- github.com/istio/istio/commit/bc80e3c2eb672352541197081f7609aa9b854b12
- 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
In ambient mode, a DNS or DNS_ROUND_ROBIN ServiceEntry that is enrolled in a waypoint but resolves to no endpoints makes istiod panic with a nil pointer dereference while generating the waypoint's inbound clusters. Any user who can create a ServiceEntry in a namespace that uses a waypoint can trigger it with namespace-scoped permissions alone, and istiod crash-loops until the ServiceEntry is removed
Details
For STRICT_DNS and LOGICAL_DNS clusters with no locality endpoints, buildCluster deliberately returns nil and records the DNSNoEndpointClusters metric (pilot/pkg/networking/core/cluster_builder.go). A DNS ServiceEntry maps to STRICT_DNS and DNS_ROUND_ROBIN to LOGICAL_DNS, so either builds to nil when it has no endpoints — for example when its workloadSelector matches no workloads. STATIC ServiceEntries are not affected (they map to EDS clusters).
The waypoint inbound path did not handle that nil: buildWaypointInboundVIPCluster (pilot/pkg/networking/core/cluster_waypoint.go) assigns the buildCluster result and immediately passes it to getOrCreateIstioMetadata(localCluster.cluster), dereferencing it. All append sites in buildWaypointInboundVIP, including the ambient east-west gateway path, go through this function. The equivalent outbound path already guards against the nil.
No recover() protects CDS generation, so the panic takes istiod down, and it crash-loops while the offending ServiceEntry exists.
The fix returns early when the built cluster is nil and filters nil clusters out of the inbound-VIP result. Skipping the cluster is safe for the waypoint listeners: waypoint RDS is generated with ValidateClusters: false, so the omitted cluster causes no NACK, and traffic to the (endpointless) service gets a 503 (HTTP) or a closed connection (TCP), matching outbound sidecar behavior.
Fixes are available in 1.32.1, 1.31.5 and 1.30.9.
Workaround
Restrict who may create or edit ServiceEntry resources in namespaces enrolled in a waypoint (RBAC or admission policy). Avoid DNS / DNS_ROUND_ROBIN ServiceEntries that can resolve to zero endpoints (for example a workloadSelector that matches no workloads) in waypoint-enrolled namespaces.
Proof of concept
Run Istio in ambient mode and deploy a waypoint for a namespace. Enroll the namespace (or a service) in the waypoint with the istio.io/use-waypoint label. Create a DNS (or DNS_ROUND_ROBIN) ServiceEntry in that namespace whose workloadSelector matches no workloads, so it has no endpoints. istiod panics with a nil pointer dereference while generating the waypoint's inbound clusters and crash-loops until the ServiceEntry is deleted. Expected: the endpointless cluster is skipped and istiod keeps serving. Observed: istiod crashes.
Impact
Denial of service against the istiod control plane. A tenant with only namespace-scoped ServiceEntry create permission can crash istiod for the whole mesh, crossing the namespace-to-control-plane trust boundary. Configuration distribution and certificate rotation stall mesh-wide until the ServiceEntry is removed; the data plane keeps serving its last-known configuration. Requires ambient mode with a waypoint-enrolled namespace. No confidentiality or integrity impact.
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-145371?
In ambient mode, a DNS or DNSROUNDROBIN ServiceEntry that is enrolled in a waypoint but resolves to no endpoints makes istiod panic with a nil pointer dereference while generating the waypoint's inbound clusters. Weakness type: NULL Pointer Dereference (CWE-476).
How severe is CVE-2026-145371?
CVE-2026-145371 has a CVSS 3.1 base score of 7.7 (high), from the CNA (github.com). An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2026-145371 being exploited?
Not as far as is known: CVE-2026-145371 is not in CISA's Known Exploited Vulnerabilities catalog as of December 5, 2026.
Which versions are affected by CVE-2026-145371?
istio.io/istio (Go) ≥ 0.0.0-20260112152740-3af7534ca9a9, < 0.0.0-20261203004151-e22a6713da06 (fixed in 0.0.0-20261203004151-e22a6713da06); 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-145371?
Update to a fixed release: istio.io/istio (Go) 0.0.0-20261203004151-e22a6713da06.
Timeline & sources
References
Related vulnerabilities & news
- Istio: unbounded JWKS fetch in RequestAuthentication enables control-plane denial of service (CVE-2026-145370)
- GHSA-vx8c-f5hh-c8pf / CVE-2026-137182 — Tinyauth: Nginx authentication bypass via spoofed X-Original-URL header
- Cocos AI attested TLS: one-time attestation at handshake enables TOCTOU after connection setup (CVE-2026-119345)
- GHSA-jjv7-h974-mjch / CVE-2026-145366 — Istio: Workload identity impersonation via a mis-encoded SAN when using an external certificate signer
- GHSA-vwc3-94w5-r373 / CVE-2026-145372 — istiod crash-loop (DoS) via the gateway-name pod label when Gateway API is disabled