CVE-2026-145371: Istio Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-g435-phf9-7g5m
CVSS 7.7
CWE-476
Published
Advisory Summary

CVE-2026-145371 is a HIGH (CVSS 7.7) denial of service vulnerability (CWE-476: NULL Pointer Dereference) affecting Istio libraries in the Go ecosystem. The issue involves istiod crash (dos) via an endpointless dns serviceentry attached to a waypoint. Remediation is available by upgrading affected packages to version 0.0.0-20261203004151-e22a6713da06.

CVE-2026-145371 at a Glance

CVE Identifier CVE-2026-145371
GHSA Identifier GHSA-g435-phf9-7g5m
Severity HIGH
CVSS v3.1 Base Score 7.7
CWE Classification CWE-476: NULL Pointer Dereference
Affected Product Istio
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2026-145371

To remediate this vulnerability, upgrade all affected Istio dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

istio.io/istio fixed: 0.0.0-20261203004151-e22a6713da06
Upgrade istio.io/istio to 0.0.0-20261203004151-e22a6713da06
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for istio.io/istio

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-145371, inspect your project dependencies for Istio:

inspect dependencies for istio.io/istio

Analyze the terminal output to locate any version of Istio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20261203004151-e22a6713da06), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-476: NULL Pointer Dereference, where the product dereferences a pointer that it expects to be valid but is null. In Istio, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2026-145371 Affected Istio Versions

1 component(s)
Fixed Versions:
0.0.0-20261203004151-e22a6713da06
Product / Package Ecosystem Affected Versions Fixed Version
istio.io/istio
Go
≥ 0.0.0-20260112152740-3af7534ca9a9
< 0.0.0-20261203004151-e22a6713da06
0.0.0-20261203004151-e22a6713da06

References

Frequently Asked Questions

What is CVE-2026-145371?
CVE-2026-145371 is a security vulnerability in Istio involving istiod crash (DoS) via an endpointless DNS ServiceEntry attached to a waypoint under CWE-476: NULL Pointer Dereference.
Which Istio versions are affected?
Affected versions include releases prior to 0.0.0-20261203004151-e22a6713da06 across affected packages: istio.io/istio.
What version fixes CVE-2026-145371?
Upgrading to 0.0.0-20261203004151-e22a6713da06 (or the latest patched release for your respective branch) resolves the vulnerability.
Is istio.io/istio affected?
Yes, istio.io/istio is affected in releases prior to 0.0.0-20261203004151-e22a6713da06. Upgrade your dependency to 0.0.0-20261203004151-e22a6713da06 or later.
What is the CVSS score of CVE-2026-145371?
CVE-2026-145371 has a CVSS v3.1 base score of 7.7 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H.
What CWE is associated with CVE-2026-145371?
CVE-2026-145371 is classified under CWE-476: NULL Pointer Dereference (The product dereferences a pointer that it expects to be valid but is NULL.).
How can I check Go dependencies for CVE-2026-145371?
Run the dependency tree command: 'inspect dependencies for istio.io/istio'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g435-phf9-7g5m",
  "modified" : "2026-12-04T22:59:18Z",
  "published" : "2026-12-04T22:59:18Z",
  "aliases" : [ "CVE-2026-145371" ],
  "summary" : "Istio: istiod crash (DoS) via an endpointless DNS ServiceEntry attached to a waypoint",
  "details" : "### Summary\n\nIn 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\n\n### Details\n\nFor 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).\n\nThe 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.\n\nNo recover() protects CDS generation, so the panic takes istiod down, and it crash-loops while the offending ServiceEntry exists.\n\nThe 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.\n\nFixes are available in 1.32.1, 1.31.5 and 1.30.9.\n\n### Workaround\n\nRestrict who may create or edit `ServiceEntry` resources in namespaces enrolled in a waypoint (RBAC or admission policy).\nAvoid DNS / DNS_ROUND_ROBIN ServiceEntries that can resolve to zero endpoints (for example a workloadSelector that matches no workloads) in waypoint-enrolled namespaces.\n\n### Proof of concept\n\nRun Istio in ambient mode and deploy a waypoint for a namespace.\nEnroll the namespace (or a service) in the waypoint with the istio.io/use-waypoint label.\nCreate a DNS (or DNS_ROUND_ROBIN) ServiceEntry in that namespace whose workloadSelector matches no workloads, so it has no endpoints.\nistiod panics with a nil pointer dereference while generating the waypoint's inbound clusters and crash-loops until the ServiceEntry is deleted.\nExpected: the endpointless cluster is skipped and istiod keeps serving.\nObserved: istiod crashes.\n\n### Impact\n\nDenial 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "istio.io/istio"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.0.0-20260112152740-3af7534ca9a9"
      }, {
        "fixed" : "0.0.0-20261203004151-e22a6713da06"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/security/advisories/GHSA-g435-phf9-7g5m"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/6b287ae54b044448ccbb4d2c045f959021b56e17"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/b9ef120222c5c97a117382bc999900323727f25b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/bc80e3c2eb672352541197081f7609aa9b854b12"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/istio/istio"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/releases/tag/1.30.9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/releases/tag/1.31.5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/releases/tag/1.32.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-476" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-04T22:59:18Z",
    "nvd_published_at" : null
  }
}