CVE-2026-145371: CVE-2026-145371: Denial of Service via NULL Pointer Dereference in Istio Ambient Mode Waypoint Cluster…
CVE-2026-145371: Denial of Service via NULL Pointer Dereference in Istio Ambient Mode Waypoint Cluster Generation Vulnerability ID: CVE-2026-145371 CVSS Score: 7.7 Published: 2026-12-04 CVE-2026-145371 (GHSA-g435-ph
CVE-2026-145371: Denial of Service via NULL Pointer Dereference in Istio Ambient Mode Waypoint Cluster Generation
Vulnerability ID: CVE-2026-145371
CVSS Score: 7.7
Published: 2026-12-04
CVE-2026-145371 (GHSA-g435-phf9-7g5m) is a high-severity denial-of-service vulnerability affecting the Istio service mesh control plane (istiod). The flaw resides in the waypoint inbound cluster generation logic used by Istio Ambient mode (pilot/pkg/networking/core/cluster_waypoint.go). When an authenticated user with namespace-scoped permissions creates or modifies a ServiceEntry configured with DNS or DNS_ROUND_ROBIN resolution that resolves to zero endpoints, the internal buildCluster method returns a nil pointer. The calling function buildWaypointInboundVIPCluster fails to check for nil before dereferencing the returned structure, resulting in an unhandled runtime panic that terminates istiod and puts the entire mesh control plane into a continuous crash loop.
TL;DR
A NULL pointer dereference (CWE-476) in Istio's ambient waypoint cluster generator allows a user with low-privileged, namespace-scoped permissions to crash the cluster-wide istiod control plane by applying an endpointless DNS or DNS_ROUND_ROBIN ServiceEntry in an ambient-enrolled namespace.
⚠️ Exploit Status: POC
Technical Details
- CVE ID: CVE-2026-145371 (GHSA-g435-phf9-7g5m)
- Weakness Class: CWE-476: NULL Pointer Dereference
- CVSS v3.1 Score: 7.7 High (AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H)
- Affected Component: Istio Control Plane (istiod) Ambient Waypoint Cluster Builder
- Attack Vector: Network (Kubernetes API CRD submission with namespace privileges)
- Impact: Cluster-wide istiod Denial of Service (CrashLoopBackOff)
- Exploit Status: PoC / Configuration Manifest Reproducible
- CISA KEV Status: Not Listed
Affected Systems
- Istio Control Plane (istiod) running Ambient Mode with Waypoint Proxies
-
Istio: >= 1.30.0, < 1.30.9 (Fixed in:
1.30.9) -
Istio: >= 1.31.0, < 1.31.5 (Fixed in:
1.31.5) -
Istio: >= 1.32.0, < 1.32.1 (Fixed in:
1.32.1)
Code Analysis
Commit: b9ef120
Add nil check in buildWaypointInboundVIPCluster and filter nil clusters in buildWaypointInboundVIP (release-1.32)
--- a/pilot/pkg/networking/core/cluster_waypoint.go
+++ b/pilot/pkg/networking/core/cluster_waypoint.go
@@ -43,6 +43,7 @@ import (
"istio.io/istio/pkg/config/host"
"istio.io/istio/pkg/config/protocol"
"istio.io/istio/pkg/log"
+ "istio.io/istio/pkg/slices"
"istio.io/istio/pkg/spiffe"
"istio.io/istio/pkg/util/protomarshal"
"istio.io/istio/pkg/wellknown"
@@ -172,6 +173,9 @@ func (cb *ClusterBuilder) buildWaypointInboundVIPCluster(
// DynamicDNS uses a custom cluster type and has the same cluster for HTTP and TLS protocols
localCluster = cb.buildDFPCluster(clusterName, svc, &port)
}
+ if localCluster == nil {
+ return nil
+ }
// Ensure VIP cluster has services metadata for stats filter usage
im := getOrCreateIstioMetadata(localCluster.cluster)
@@ -380,7 +384,7 @@ func (cb *ClusterBuilder) buildWaypointInboundVIP(proxy *model.Proxy, svcs map[h
}
}
}
- return clusters
+ return slices.FilterInPlace(clusters, func(c *cluster.Cluster) bool { return c != nil })
}
Commit: 6b287ae
Add nil check in buildWaypointInboundVIPCluster and filter nil clusters in buildWaypointInboundVIP (release-1.31)
Commit: bc80e3c
Add nil check in buildWaypointInboundVIPCluster and filter nil clusters in buildWaypointInboundVIP (release-1.30)
Mitigation Strategies
- Upgrade Istio control plane (istiod) to patched versions 1.30.9, 1.31.5, or 1.32.1.
- Enforce Kubernetes ValidatingAdmissionPolicy or OPA Gatekeeper rules to block DNS/DNS_ROUND_ROBIN ServiceEntries that lack static endpoints or use workloadSelectors in ambient-enrolled namespaces.
- Restrict RBAC permissions for creating or modifying networking.istio.io/ServiceEntry resources in multi-tenant namespaces.
Remediation Steps:
- Identify any crash-looping istiod pods and inspect container logs for a panic in buildWaypointInboundVIPCluster at pilot/pkg/networking/core/cluster_waypoint.go:176.
- Query all ServiceEntry resources across the cluster to locate entries with resolution set to DNS or DNS_ROUND_ROBIN that have zero matching endpoints.
- Delete or modify the offending ServiceEntry resource using kubectl delete serviceentry -n to break the istiod crash loop.
- Upgrade the Istio control plane via istioctl, Helm, or in-place canary upgrade to 1.30.9, 1.31.5, or 1.32.1.
References
- GitHub Security Advisory: GHSA-g435-phf9-7g5m
- NVD Vulnerability Detail: CVE-2026-145371
- CVE.org Official Record: CVE-2026-145371
- CVEProject cvelistV5 JSON Record: CVE-2026-145371
- Fix Commit (release-1.32): b9ef120222c5c97a117382bc999900323727f25b
- Fix Commit (release-1.31): 6b287ae54b044448ccbb4d2c045f959021b56e17
- Fix Commit (release-1.30): bc80e3c2eb672352541197081f7609aa9b854b12
- Istio Release 1.30.9
- Istio Release 1.31.5
- Istio Release 1.32.1
- MITRE ATT&CK Technique T1499: Endpoint Denial of Service
Read the full report for CVE-2026-145371 on our website for more details including interactive diagrams and full exploit analysis.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.