Introduction
A single unauthenticated discovery request can take down the brain of an Istio mesh. CVE-2026-145368 lets an attacker who can reach istiod's xDS port send one crafted xDS NACK that crashes the control plane. Repeating that request keeps istiod stuck in CrashLoopBackOff, halting configuration distribution, certificate issuance, and admission webhooks for every cluster the control plane serves.
Istio is an open source service mesh that connects, manages, and secures microservices. istiod is its control plane, distributing configuration to Envoy sidecars over the xDS protocol. CNCF lists Istio as a graduated project (graduated July 12, 2023), and its 2025 annual survey reported Istio at 36% production use among survey respondents for the relevant project question. That reach makes a control plane denial of service in istiod broadly relevant to cloud native operators.
Technical Information
The root cause is CWE-476, a null pointer dereference on the xDS streaming path.
When an Envoy client rejects a configuration push, it sends a discovery request with error_detail set. This is an xDS NACK. istiod records the rejection message on the stream's WatchedResource for the relevant type URL. It does this through a callback passed to UpdateWatchedResource, which looks up the watch for that type and hands it to the closure.
If the stream never subscribed to that type, no watch exists. Proxy.UpdateWatchedResource (in pilot/pkg/model/context.go) then passes a nil WatchedResource into the closure. The old closure wrote to wr.LastError without checking for nil, producing a nil pointer panic.
The defect exists in two closures, one per ADS protocol variant that istiod serves:
ShouldRespondinpkg/xds/server.go, the state of the world (SotW) ADS path.shouldRespondDeltainpilot/pkg/xds/delta.go, the delta ADS path.
The advisory explains why one panic takes down the entire control plane: istiod registers gRPC interceptors for unary calls only, so nothing recovers a panic on the streaming xDS path. The whole process exits rather than failing a single stream.
The code that logs and counts the NACK runs before the vulnerable closure, as shown in the patch context:
log.Warnf("ADS:%s: ACK ERROR %s %s:%s", stype, id, errCode.String(), request.ErrorDetail.GetMessage()) IncrementXDSRejects(request.TypeUrl, w.GetID(), errCode.String())
Attack conditions
The malicious request does not have to be the first message on the stream. The reachability and authentication requirements differ by port:
- Port 15010 serves plaintext xDS with no client authentication;
XDS_AUTH_PLAINTEXTdefaults to false. - Port 15012 requires mutual TLS but accepts any valid mesh workload identity.
Attack flow
- The attacker reaches istiod's xDS port, for example via
kubectl -n istio-system port-forwardfor 15010, or as any valid mesh workload for 15012. - The attacker opens an ADS stream and sends a single discovery request with
error_detailset and atype_urlthe stream has not subscribed to (for example theClustertype). - istiod looks up a nonexistent watch, passes nil into the closure, dereferences it, and panics. The pod's
RESTARTScount increases. - Repeating the request keeps istiod in
CrashLoopBackOff. In multi cluster or multi primary meshes, loss of a shared control plane disrupts every cluster it serves.
The advisory claims no confidentiality or integrity impact, no data disclosure, no data modification, and no remote code execution. The impact is availability only.
The NVD record uses the CNA vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H (7.7 High), while the GitHub advisory uses CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H (8.6 High). The difference is privileges required: the advisory reflects the unauthenticated path on port 15010.
Proof of Concept
A verifiable public proof of concept exists. There is no standalone exploit script. The public PoC consists of a step by step reproduction procedure in the maintainer's security advisory and executable regression test code committed with the fix. Both reliably reproduce the crash. The issue was reported by ryu11235.
The reproduction procedure from the advisory:
- Install any affected Istio version with default settings.
- From a client that can reach istiod's xDS port (for example via
kubectl -n istio-system port-forward), open an ADS stream and send a single discovery request that haserror_detailset and atype_urlthe stream has not subscribed to (for example theClustertype). - istiod panics with a nil pointer dereference and the pod's
RESTARTScount increases. - Repeating the request keeps istiod in
CrashLoopBackOff.
Expected behavior is that istiod logs the NACK and keeps serving. Observed behavior is that the istiod process crashes, and the delta ADS path fails the same way.
The executable regression test for the delta ADS path, from fix commit d2eb58d034d599da89215b95b401101a7f844ba1 (pilot/pkg/xds/delta_test.go), demonstrates the exact crashing request:
// TestDeltaNackUnsubscribedType is a regression test: a NACK (ErrorDetail set) for a type the // stream never subscribed to must not dereference a nil WatchedResource. Before the fix this // panicked in the stream handler goroutine and crashed istiod mesh-wide. func TestDeltaNackUnsubscribedType(t *testing.T) { s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{}) s.EnsureSynced(t) ads := s.ConnectDeltaADS().WithID("sidecar~127.0.0.1~test.default~default.svc.cluster.local") // First request on the stream is a NACK for CDS, which was never subscribed. ads.Request(&discovery.DeltaDiscoveryRequest{ TypeUrl: v3.ClusterType, ErrorDetail: &spb.Status{Code: int32(codes.InvalidArgument), Message: "nack for unsubscribed type"}, }) // A NACK is not responded to, and istiod must stay alive rather than panic. ads.ExpectNoResponse() // Prove the control plane is still serving by completing a normal subscription. if resp := ads.RequestResponseAck(&discovery.DeltaDiscoveryRequest{TypeUrl: v3.ClusterType}); resp == nil { t.Fatal("expected a CDS response after NACK of an unsubscribed type, got nil") } }
The equivalent state of the world test case (pkg/xds/server_test.go) sends a DiscoveryRequest with TypeUrl: model.ClusterType and ErrorDetail set against a proxy with an empty WatchedResources map.
Patch Information
Istio fixed the issue with a nil check of a few lines, added in two places, one per ADS protocol variant. The fix shipped in Istio 1.30.9, 1.31.5, and 1.32.1, and each supported release branch got its own backport commit.
| Release branch | Fix commit | Fixed release |
|---|---|---|
release-1.32 | d2eb58d (#300) | 1.32.1 |
release-1.31 | 3eb3470 (#317) | 1.31.5 |
release-1.30 | 4912669 (#316) | 1.30.9 |
All three commits are titled "Fix istiod panic on xDS NACK for an unsubscribed type". Each adds 73 lines and deletes none, across the same five files; only the hunk line offsets differ between branches.
The SotW change from the release-1.31 commit guards the closure:
@@ -361,6 +361,12 @@ func ShouldRespond(w Watcher, id string, request *discovery.DiscoveryRequest) (b log.Warnf("ADS:%s: ACK ERROR %s %s:%s", stype, id, errCode.String(), request.ErrorDetail.GetMessage()) IncrementXDSRejects(request.TypeUrl, w.GetID(), errCode.String()) w.UpdateWatchedResource(request.TypeUrl, func(wr *WatchedResource) *WatchedResource { + // A client may NACK a type it never subscribed to. In that case there is no + // WatchedResource to record the error against; the NACK has already been logged + // above, so just return nil to avoid creating a spurious watch (and a nil deref). + if wr == nil { + return nil + } wr.LastError = request.ErrorDetail.GetMessage() return wr })
The delta path in pilot/pkg/xds/delta.go gets the identical guard inside con.proxy.UpdateWatchedResource(...), where the closure's parameter is *model.WatchedResource.
Three details explain the shape of the fix:
- It returns nil, not a new watch. Building a fresh
WatchedResourcejust to hold the error would have created a subscription the client never asked for (a "spurious watch"). Returning nil keeps the stream's state exactly as it was. - Logging and metrics still happen.
log.Warnf("... ACK ERROR ...")andIncrementXDSRejects(...)run beforeUpdateWatchedResourceis called, so the NACK is still logged and still counted inpilot_total_xds_rejects. Only the step of recording the error on a nonexistent watch is skipped. - It is a targeted fix. The patch fixes the bad dereference at its source. It does not add a panic recovery layer to the streaming gRPC handlers, so the general lack of recovery on stream calls is unchanged.
Each commit also adds regression tests (TestDeltaNackUnsubscribedType in pilot/pkg/xds/delta_test.go, and a nack for unwatched type case in TestShouldRespond in pkg/xds/server_test.go), plus a releasenotes/notes/xds-nack-unwatched-type-panic.yaml file (kind: security-fix). These notes were published in the 1.30.9, 1.31.5, and 1.32.1 release announcements and in the ISTIO-SECURITY-2026-010 bulletin.
Detection Methods
No vendor published Sigma, Suricata, YARA, or Nuclei rule exists for this CVE. Detection relies on telemetry istiod already produces: crash behavior, log lines, metrics, and network flows.
Crash and restart telemetry (main signal)
istiod panics with a nil pointer dereference and the pod's RESTARTS count goes up; repeated requests keep it in CrashLoopBackOff.
- Alert on any istiod restart or CrashLoopBackOff event in
istio-system. A healthy control plane should almost never restart unexpectedly. - Collect the crashed container's logs, not just the current container's. Look for a nil pointer panic whose stack trace includes
ShouldRespondorshouldRespondDelta, reached through theUpdateWatchedResourceclosure. - Each crash is caused by a single request, so repeated restarts at a steady interval are a strong sign that someone is deliberately keeping the control plane down.
The log line just before the crash
Because istiod logs and counts the NACK before running the vulnerable closure, the last useful log line before a panic should be an ADS:<type>: ACK ERROR <connection-id> <code>:<message> warning (the delta path uses deltaLog.Warnf with the same format string). It names the resource type, the connection or proxy ID, and the error message the client supplied. Joining that warning to the panic that follows gives you the attacking connection ID.
An ACK ERROR on its own is not malicious; real Envoy proxies NACK bad configuration regularly. What stands out is a NACK for a type that connection never subscribed to, especially when it is the first or only message on the stream.
The pilot_total_xds_rejects metric
The patched code still counts the NACK in pilot_total_xds_rejects, labelled with type URL, proxy ID, and error code.
- On patched clusters, exploit attempts no longer crash istiod but still increase this counter. Look for rejects from proxy IDs that do not match known sidecars or gateways, and for spikes on types those proxies do not normally consume.
- On vulnerable clusters, the counter increments right before the process dies. An in memory Prometheus counter resets on restart, so a scrape may never capture the increment. Rely on restart events and saved crash logs first, and treat the metric as supporting evidence.
Network monitoring of istiod's xDS ports
- Treat any connection to istiod on 15010 from a source outside an explicit allowlist as suspicious. Use CNI or NetworkPolicy flow logs, VPC flow logs, or service mesh telemetry. Connections arriving just before an istiod restart deserve priority.
- Watch for port forward sessions to istiod in Kubernetes audit logs; the advisory's reproduction reached the port through
kubectl port-forward. - On 15012, any valid mesh workload identity can trigger the crash. Look for workloads that open ADS streams to istiod even though they normally do not, such as pods without sidecars or newly deployed identities.
Find vulnerable instances and verify the fix
Inventory istiod images and treat any control plane in 1.30.0 through 1.30.8, 1.31.0 through 1.31.4, or 1.32.0 as exposed. Pay extra attention where 15010 can be reached from outside the control plane namespace, and prioritize multi cluster or multi primary meshes where one request can take down a shared control plane. A lab build that passes the regression tests, and still logs ACK ERROR without restarting, behaves as patched.
Note: CVETodo's narrative for this CVE describes a different Istio bug (Gateway API disabled via PILOT_ENABLE_GATEWAY_API=false, plus label and Secret based crashes). Do not build detections from it. The authoritative description is the xDS NACK issue in NVD and the Istio advisory.
Affected Systems and Versions
The affected product is Istio, listed by NVD under the project name istio. The affected ranges are:
- Version 1.30.0 through versions earlier than 1.30.9.
- Version 1.31.0 through versions earlier than 1.31.5.
- Version 1.32.0 through versions earlier than 1.32.1.
Fixed versions are 1.30.9, 1.31.5, and 1.32.1. Deployments that expose port 15010 outside the control plane namespace, and multi cluster or multi primary meshes backed by a shared control plane, carry the highest exposure.
Vendor Security History
Ada Logics audited Istio in 2022, with its report published in 2023. It reported 11 issues and credited the project with responsive security handling and regression tests, while identifying multiple security and reliability concerns in the Istio Operator at the time. That historical assessment does not establish the security of a current deployment. Istio's published process describes private reporting, evaluation, private fix development, and coordinated public disclosure.
One record discrepancy is worth noting: NVD explicitly links GHSA-r567-vfff-9c27 to this CVE, although the GitHub advisory page reviewed displayed "No known CVE." The technical descriptions and affected versions match.
References
- NVD: CVE-2026-145368
- Istio advisory GHSA-r567-vfff-9c27
- Istio Security Bulletin ISTIO-SECURITY-2026-010
- Fix commit release-1.32 (d2eb58d)
- Fix commit release-1.31 (3eb3470)
- Fix commit release-1.30 (4912669)
- Istio 1.30.9 release
- Istio 1.31.5 release
- Istio 1.32.1 release
- GitHub API: commit d2eb58d
- GitHub API: commit 3eb3470
- GitHub API: commit 4912669
- GitHub API: advisory GHSA-r567-vfff-9c27
- K8s Security Guide: GHSA-r567-vfff-9c27
- CVETodo: CVE-2026-145368 (contains an incorrect narrative; see detection note)
- Istio project at CNCF
- Istio security vulnerabilities process



