CVE-2026-145371 — Istio.io/istio — CWE-476
### 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 n
### 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 n
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-145371
CVSS 7.7/10 · HIGH · 04.12.2026
CWE: CWE-476
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Summary: ### 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 Servi…
Affected: istio.io/istio
⚡ ATTACK VECTOR
Network / Remote (AV:N) · low-privilege account (PR:L) · no user interaction (UI:N) · low attack complexity (AC:L).
⚠️ Scope changes (S:C) — impact can cross security boundaries.
🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L); service can be completely taken down; pivot to other systems possible.
🛡️ REMEDIATION
→ Apply vendor security update for istio.io/istio.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
⚠️ Planned maintenance (2 weeks).
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]