Dec 4, 2026·11 min read·2 visits
An authenticated user with namespace-scoped permissions to create a ServiceEntry in an ambient-enrolled namespace can crash the central istiod control plane across the entire Kubernetes cluster by defining a DNS-resolved ServiceEntry attached to a waypoint proxy that matches zero endpoints.
A denial-of-service vulnerability exists in the Istio Pilot control plane (istiod) when operating in ambient mesh mode. In versions 1.30.0 through 1.30.8, 1.31.0 through 1.31.4, and 1.32.0, creating a ServiceEntry with DNS or DNS_ROUND_ROBIN resolution attached to a waypoint proxy that resolves to zero endpoints causes buildCluster to return a nil pointer. The waypoint inbound cluster generation routine subsequently dereferences this nil pointer without validation, triggering an unhandled Go runtime panic that places all istiod replicas into a continuous crash-loop.
Istio is an open-source service mesh platform that provides traffic management, security policy enforcement, and observability for distributed microservice architectures. In Istio's ambient mesh data plane mode, infrastructure is decoupled into two distinct layers: a per-node Layer 4 secure overlay proxy (ztunnel) and an optional, namespace- or service-scoped Layer 7 proxy known as a waypoint proxy. The central control plane daemon, istiod (specifically the Pilot component), watches Kubernetes API resources and Istio Custom Resource Definitions (CRDs) to dynamically synthesize Envoy xDS configuration and distribute it to both ztunnel instances and waypoint proxies.
CVE-2026-145367 (also tracked under GitHub Security Advisory GHSA-2crx-44xc-8wq7) is a control plane denial-of-service vulnerability within istiod's Cluster Discovery Service (CDS) generation pipeline for ambient waypoint proxies. The defect occurs when istiod processes a ServiceEntry resource configured with DNS or DNS_ROUND_ROBIN resolution inside a namespace or service scope attached to an ambient waypoint proxy.
When a ServiceEntry uses DNS resolution alongside a workloadSelector (or otherwise lacks static endpoints) and currently resolves to zero backing workload instances, the internal cluster builder returns a nil pointer for the resulting Envoy STRICT_DNS or LOGICAL_DNS cluster. The waypoint inbound virtual IP (VIP) cluster construction logic in pilot/pkg/networking/core/cluster_waypoint.go fails to check whether the returned cluster wrapper is nil before attempting to attach Istio telemetry metadata to the underlying cluster struct.
Classified under CWE-636 (Not Failing Securely) and CWE-863 (Incorrect Authorization), this vulnerability breaks multi-tenant isolation in shared Kubernetes clusters. Because ServiceEntry creation is typically delegated to namespace-scoped developers or tenant administrators, a low-privileged user in a single ambient-enrolled namespace can deploy a non-matching ServiceEntry that triggers an immediate nil pointer dereference in istiod. Because the resource persists in Kubernetes etcd, every istiod replica crashes upon startup when reconciling the cluster state, neutralizing control plane availability mesh-wide.
In Istio ambient mode, waypoint proxies are standard Envoy instances responsible for mediating Layer 7 traffic targeting specific Virtual IPs (VIPs) or hostnames within their assigned scope. To configure these proxies, istiod executes buildWaypointInboundVIP in pilot/pkg/networking/core/cluster_waypoint.go whenever a configuration push is triggered. This function iterates over all services attached to the target waypoint proxy and builds the inbound Envoy clusters required to route traffic to the service's backing endpoints.
For each service and port combination associated with the waypoint, buildWaypointInboundVIP calls the helper method buildWaypointInboundVIPCluster(clusterName, svc, port). Inside buildWaypointInboundVIPCluster, the control plane inspects the service resolution strategy (svc.Resolution). When the service is configured with model.DNS or model.DNSLB (DNS_ROUND_ROBIN), istiod maps the resolution mode to Envoy's cluster.Cluster_STRICT_DNS or cluster.Cluster_LOGICAL_DNS discovery types, respectively. It then extracts the current endpoint slice for the service via cb.extractEndpointsForService(svc, &port) and invokes cb.buildCluster(...) (or cb.buildDFPCluster(...) if Dynamic Forward Proxy DNS is used).
Under standard Envoy configuration rules enforced by Pilot, a STRICT_DNS or LOGICAL_DNS cluster cannot be instantiated if its load assignment contains zero endpoints. This condition occurs deterministically when a ServiceEntry specifies resolution: DNS or resolution: DNS_ROUND_ROBIN and defines a workloadSelector that matches no active Kubernetes Pods or WorkloadEntry objects (or omits endpoints entirely). Recognizing that a DNS cluster without target hostnames is invalid, cb.buildCluster exits early and returns nil for the *clusterWrapper object (localCluster).
The root cause of CVE-2026-145367 is the absence of a nil-pointer check on localCluster immediately following the buildCluster and buildDFPCluster calls in buildWaypointInboundVIPCluster. Immediately after the switch block that populates localCluster, the code executes getOrCreateIstioMetadata(localCluster.cluster) to inject service metadata used by the Istio stats filter. Attempting to evaluate the struct field localCluster.cluster when localCluster is nil triggers a fatal Go runtime panic (runtime error: invalid memory address or nil pointer dereference). Because this execution path runs inside an active xDS push worker without panic recovery wrapping the individual cluster builder, the entire istiod process terminates.
The defect and its corresponding remediation are localized within pilot/pkg/networking/core/cluster_waypoint.go. Comparing the vulnerable implementation against the patched release commits (b9ef120222c5c97a117382bc999900323727f25b for 1.32, 6b287ae54b044448ccbb4d2c045f959021b56e17 for 1.31, and bc80e3c2eb672352541197081f7609aa9b854b12 for 1.30) illustrates the exact failure point during inbound VIP cluster synthesis.
In the unpatched version of buildWaypointInboundVIPCluster, localCluster is declared as a pointer to clusterWrapper and populated across three branches depending on svc.Resolution. While model.ClientSideLB (EDS) always returns a valid clusterWrapper struct even when zero endpoints are present (because Envoy EDS clusters receive endpoints asynchronously via Endpoint Discovery Service), buildCluster returns nil for STRICT_DNS and LOGICAL_DNS when the endpoint list is empty:
// Vulnerable code path in pilot/pkg/networking/core/cluster_waypoint.go
func (cb *ClusterBuilder) buildWaypointInboundVIPCluster(
proxy *model.Proxy,
svc *model.Service,
port model.Port,
subsetName string,
) *cluster.Cluster {
clusterName := model.BuildSubsetKey(model.TrafficDirectionInboundVIP, subsetName, svc.Hostname, port.Port)
var localCluster *clusterWrapper
if svc.Resolution == model.ClientSideLB {
localCluster = cb.buildInboundEDSCluster(proxy, clusterName, svc, &port)
} else if svc.Resolution == model.DNS || svc.Resolution == model.DNSLB {
clusterType := cluster.Cluster_STRICT_DNS
if svc.Resolution == model.DNSLB {
clusterType = cluster.Cluster_LOGICAL_DNS
}
ep := cb.extractEndpointsForService(svc, &port)
// BUG: If ep is empty, buildCluster returns nil
localCluster = cb.buildCluster(clusterName, clusterType, ep, model.TrafficDirectionInbound, &port, svc, nil, subsetName)
} else if svc.Resolution == model.DynamicDNS {
localCluster = cb.buildDFPCluster(clusterName, svc, &port)
}
// FATAL: Unchecked dereference of localCluster.cluster when localCluster == nil
im := getOrCreateIstioMetadata(localCluster.cluster)The official patch resolves this issue by introducing two defensive changes in pilot/pkg/networking/core/cluster_waypoint.go:
--- 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 })
}First, an explicit nil guard (if localCluster == nil { return nil }) is placed immediately after the resolution branch in buildWaypointInboundVIPCluster. If buildCluster or buildDFPCluster fails to construct a cluster object, buildWaypointInboundVIPCluster aborts early and returns nil to its caller (buildWaypointInboundVIP).
Second, because buildWaypointInboundVIP appends the return values of buildWaypointInboundVIPCluster (and HTTP/TLS protocol filter chains that wrap it) into the clusters slice, returning nil from the helper could introduce nil elements into the slice passed back to the CDS generator. To prevent downstream nil dereferences during xDS serialization or Delta CDS processing, the patch wraps the return statement of buildWaypointInboundVIP with slices.FilterInPlace(clusters, func(c *cluster.Cluster) bool { return c != nil }). The fix is complete for this code path because all branches within buildWaypointInboundVIP that invoke buildWaypointInboundVIPCluster either check for nil or have their resulting nil pointers stripped by slices.FilterInPlace prior to leaving the function.
Exploiting CVE-2026-145367 requires low-level privileges (PR:L) within a Kubernetes cluster running Istio in ambient mode (1.30.0 to < 1.30.9, 1.31.0 to < 1.31.5, or 1.32.0). Specifically, the attacker needs Kubernetes RBAC permissions to create or update a ServiceEntry (networking.istio.io/v1) in any namespace that is attached to an ambient waypoint proxy (or permissions to attach a ServiceEntry directly to an existing waypoint via the istio.io/use-waypoint label).
No complex timing, race condition, or external network traffic is required to trigger the crash. The upstream regression test TestWaypointDNSClustersWithoutEndpoints in pilot/pkg/xds/waypoint_test.go demonstrates the exact condition required to reproduce the panic. When the following ServiceEntry manifest is applied to a namespace configured to use a waypoint proxy (istio.io/use-waypoint: waypoint), istiod crashes immediately:
apiVersion: networking.istio.io/v1
kind: ServiceEntry
metadata:
name: crash-trigger-service
namespace: ambient-enrolled-ns
spec:
hosts:
- "crash.example.internal"
addresses:
- "240.240.0.100"
ports:
- number: 80
name: http
protocol: HTTP
- number: 443
name: tls
protocol: TLS
- number: 8080
name: auto
protocol: ""
resolution: DNS
workloadSelector:
labels:
app: non-existent-workload-targetFour configuration attributes in this manifest interact to trigger the vulnerability:
istio.io/dataplane-mode: ambient and istio.io/use-waypoint: <waypoint-name> (or carries the istio.io/use-waypoint label directly on the ServiceEntry metadata), causing istiod to include the service in the waypoint's inbound VIP service map (svcs).addresses field (240.240.0.100) provides a virtual IP, ensuring the service enters the VIP cluster generation loop inside buildWaypointInboundVIP.resolution: DNS (or resolution: DNS_ROUND_ROBIN) directs buildWaypointInboundVIPCluster into the STRICT_DNS / LOGICAL_DNS branch rather than the ClientSideLB (EDS) branch.workloadSelector (app: non-existent-workload-target) that matches no running pods or WorkloadEntry objects causes extractEndpointsForService to return an empty slice, which in turn causes buildCluster to return nil.> [!NOTE]
> This condition can also be triggered unintentionally during normal GitOps deployment workflows if a developer applies a ServiceEntry with resolution: DNS and a workloadSelector before deploying the corresponding WorkloadEntry or Pod resources, or if all backing pods are scaled down to zero.
CVE-2026-145367 carries a CVSS v3.1 base score of 7.7 (HIGH) with the vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H. The Scope: Changed (S:C) metric reflects a critical architectural boundary crossing: an adversary operating within a restricted, single-namespace security domain (PR:L) can impact the global control plane (istiod), denying service to all other namespaces and tenants across the entire service mesh.
When the offending ServiceEntry is persisted to the Kubernetes API server (etcd), the informers in every active istiod replica receive the watch event simultaneously and enqueue an xDS push for the affected waypoint proxy. Consequently, deploying a single manifest causes all running istiod pods across a high-availability control plane deployment to panic and terminate within milliseconds of one another. When the Kubernetes kubelet restarts the crashed istiod containers, each new process synchronizes its initial informer cache from the Kubernetes API server, encounters the persisted ServiceEntry, and panics again before completing startup, trapping the control plane in a CrashLoopBackOff state.
While existing Envoy (waypoint and ingress/egress gateway) and ztunnel data plane proxies continue forwarding traffic using their last known good configuration while istiod is offline, the sustained loss of the control plane degrades cluster operations across several vectors:
VirtualService, HTTPRoute), security policies (AuthorizationPolicy), or service endpoint updates (pod scaling, rollouts, IP changes) can be propagated to the data plane.istiod for mutating webhook injection (in hybrid sidecar/ambient clusters) or xDS bootstrap and SPIFFE workload certificate issuance via CA signing requests will fail to initialize.Operators running Istio in ambient mode must upgrade their istiod control plane installations to one of the patched maintenance releases that incorporate the nil-pointer validation fix:
If istiod is actively in a CrashLoopBackOff state due to this vulnerability, upgrading or restarting istiod without removing the offending resource or applying the patched binary will not restore service. Incident responders can identify offending ServiceEntry resources across all namespaces by querying the Kubernetes API server directly:
kubectl get serviceentries -A -o jsonpath='{range .items[*]}{.metadata.namespace}{"/"}{.metadata.name}{": resolution="}{.spec.resolution}{", selector="}{.spec.workloadSelector}{", endpoints="}{.spec.endpoints}{"\n"}{end}' | grep -E 'resolution=(DNS|DNS_ROUND_ROBIN)'Once identified, deleting the offending ServiceEntry (kubectl delete serviceentry <name> -n <namespace>) or updating its resolution field to STATIC or NONE (as appropriate when using workloadSelector) allows istiod replicas to recover cleanly on their next restart cycle.
For environments where an immediate control plane upgrade cannot be scheduled, administrators should deploy a Kubernetes ValidatingAdmissionPolicy (or a policy engine rule using OPA Gatekeeper or Kyverno) to block the creation or update of ServiceEntry objects that combine resolution: DNS or resolution: DNS_ROUND_ROBIN with a workloadSelector or an empty endpoints array. Additionally, RBAC permissions for serviceentries.networking.istio.io should be audited and restricted to trusted deployment pipelines or platform administrators until the control plane is patched.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H| Product | Affected Versions | Fixed Version |
|---|---|---|
Istio Istio | >= 1.30.0, < 1.30.9 | 1.30.9 |
Istio Istio | >= 1.31.0, < 1.31.5 | 1.31.5 |
Istio Istio | >= 1.32.0, < 1.32.1 | 1.32.1 |
| Attribute | Detail |
|---|---|
| CVE ID | CVE-2026-145367 (GHSA-2crx-44xc-8wq7) |
| CVSS v3.1 Score | 7.7 HIGH (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H) |
| Weakness Classification | CWE-636 (Not Failing Securely) / CWE-863 (Incorrect Authorization) |
| Affected Component | istiod Pilot Control Plane (pilot/pkg/networking/core/cluster_waypoint.go) |
| Attack Vector | Network / Authenticated Namespace-Scoped ServiceEntry Creation |
| Security Impact | Cluster-Wide Control Plane Denial of Service (istiod Panic & Crash-Loop) |
| Exploit Status | PoC Available (Upstream Regression Test Case) |
| CISA KEV Status | Not Listed |
The software encounters an unexpected condition or edge case (an empty endpoints list for a DNS-based ServiceEntry) and fails abruptly via an unhandled runtime panic rather than discarding the invalid cluster entry or handling the null value safely.
CVE-2026-144303 (GHSA-mxfr-rg9v-vp3c) is a denial-of-service vulnerability affecting the websocket-driver package for Node.js prior to version 0.8.3. When a remote client sends WebSocket frame data concatenated in the same TCP segment as the initial HTTP Upgrade request headers, applications following the documented integration pattern pass the trailing byte buffer to driver.io.write() before calling driver.start(). Because internal protocol parser states and frame reader components are not initialized until driver.start() executes, attempting to parse early frame bytes triggers an unhandled TypeError, terminating the Node.js process.
CVE-2026-137197 (GHSA-w3gc-668g-rf8f) is an OS command injection vulnerability (CWE-78) in the Node.js cross-spawn library affecting versions prior to 6.0.8 and 7.1.1 on Microsoft Windows. The flaw stems from parsing and resolution discrepancies between how cross-spawn identifies batch scripts (.bat and .cmd) and how Windows cmd.exe resolves target files. When a command string contains embedded double quotes, token delimiters, trailing whitespace, or relies on a child-specific PATHEXT environment variable, cross-spawn fails to detect that the target is a batch script and omits cmd.exe metacharacter escaping on user-supplied arguments, enabling arbitrary OS command execution.
An input validation flaw in github.com/Luzifer/ots prior to version 1.21.8 allows unauthenticated remote attackers to bypass configured secret expiration policies. By supplying an expire=0 query parameter during secret creation, clients force the server to store secrets without a time-to-live (TTL) in both Redis and in-memory storage backends. This invalidates administrative data retention policies and permits unbounded storage consumption via unread secrets.
A stored Cross-Site Scripting (XSS) vulnerability exists in Silverstripe Framework versions prior to 6.2.13 within the HTML sanitisation engine (SilverStripe\Core\XssSanitiser). The sanitiser fails to strip or normalize non-printable ASCII C0 control characters and DEL bytes prior to evaluating URI attributes against scheme-blocking regular expressions. Because modern web browsers ignore these control bytes according to the WHATWG URL Standard, an authenticated CMS author can embed control bytes before or within a javascript: URI to bypass detection and execute arbitrary JavaScript in the browser context of users viewing the rendered content.
CVE-2026-74871 (also tracked as GHSA-vxf9-vwp6-2w43 and PYSEC-2026-3976) is a cryptographic composition vulnerability in the Python file encryption library openssl_encrypt affecting versions prior to 1.4.6. When generating keys under sequential XOR composition mode (format versions 8 and 10), the key derivation routine redundantly appends the final chain output to an accumulator that already contains the normalized output of the final derivation stage. Because bitwise XOR is self-inverting (A XOR A = 0), the final stage cancels itself out completely. When a single memory-hard key derivation function (such as Argon2id or Scrypt) is configured without preceding hash stages, the derived key collapses to an unhardened SHA-256(password || salt) digest, allowing offline password cracking at raw SHA-256 throughput.
CVE-2026-142637 (GHSA-ch34-gjmh-c4hp) is a query logic injection vulnerability (CWE-943) in the Laravel framework prior to versions 12.73.0 and 13.43.0. When fluent database validation rules such as Rule::exists() or Rule::unique() are scoped using the scalar where() method, the framework serializes the rule object into its legacy comma-delimited string format and subsequently reparses it. During reparsing, the database presence verifier evaluates specific reserved tokens—'NULL', 'NOT_NULL', and values prefixed with '!'—as SQL predicates rather than literal values. If an application passes untrusted user input into a fluent where() scope, an attacker can supply these sentinel tokens to alter the SQL evaluation logic and bypass multi-tenant isolation or ownership validation.