k8wiz
Back to Articles

Ready to test your Istio knowledge? Try our Istio quiz!

Istio 1.32.1 security patch: what to check first

Istio 1.32.1, 1.31.5 and 1.30.9 fix seven CVEs. Here is what can change on upgrade and how to find affected resources before you patch.

10 min read
By k8wiz Team
  • istio
  • security
  • upgrade
  • ambient

Istio 1.32.1, 1.31.5 and 1.30.9 were released on 2 December 2026, together with security bulletin ISTIO-SECURITY-2026-010. The bulletin covers seven advisories plus one other security fix, and it lists 1.32.0, 1.31.0 to 1.31.4 and 1.30.0 to 1.30.8 as affected. Every supported line gets the same fixes, so the right move is to patch whichever minor version you run.

Patch releases usually go on without much thought. This one is different, because three of the fixes change behavior in ways that can break a working mesh: ambient authorization policies can match different traffic, oversized JWKS responses are now rejected, and two internal annotations fail validation. This guide explains each fix, shows how to find the resources it touches, and then walks through the upgrade.

What the advisories fix

The highest scoring advisory, GHSA-r567-vfff-9c27 (CVSS 8.6), let a client crash istiod by sending an xDS NACK for a resource type its stream had never subscribed to. istiod dereferenced a nil watched resource and exited. On port 15010 this needs no credentials at all, and on port 15012 any workload identity is enough. Repeating the request kept the control plane down, which stops configuration pushes, certificate issuance and the injection and validation webhooks for the whole mesh. The bulletin says all installations are potentially affected.

GHSA-jjv7-h974-mjch (CVSS 8.2) matters if you use an external signer that copies the CSR's subject alternative names into the issued certificate, such as istio-csr with the cert-manager CA Issuer. A workload could get a certificate carrying its real identity plus a second, mis-encoded SAN, and istiod would authenticate it as that other service account. Depending on RBAC, that could expose another namespace's TLS private key through SDS, and in the documented istio-csr layout, the mesh CA signing key. istiod now only accepts correctly encoded SANs and takes a peer's identity only from the URI SANs of the verified certificate.

Three more advisories, each scored 7.7, are control plane denial of service bugs that need some level of access:

  • GHSA-vwc3-94w5-r373 applies when PILOT_ENABLE_GATEWAY_API=false. A user with namespace permissions could crash-loop istiod by labeling a pod with gateway.networking.k8s.io/gateway-name, or with an Istio Gateway whose credentialName points at a Secret in another namespace.
  • GHSA-7vw6-2xxx-fch6 applies when untrusted users can write RequestAuthentication. istiod read JWKS and OpenID discovery responses with no size limit, so a huge response could get it OOM-killed.
  • GHSA-g435-phf9-7g5m applies when you use waypoints. A ServiceEntry with resolution: DNS or DNS_ROUND_ROBIN and no endpoints crashed istiod.

The last two advisories are rated Moderate. GHSA-2crx-44xc-8wq7 (CVSS 6.8) is an ambient mode authorization bypass, and GHSA-94hp-7c48-x2x3 (CVSS 6.4) concerns two annotations reserved for Istio's internal use. Both fixes change behavior, so they get their own steps below. The other security fix limits CA_TRUSTED_NODE_ACCOUNTS impersonation to identities in the mesh's own trust domain. Before, an impersonated identity in any SPIFFE trust domain was accepted.

Step 1: confirm which version you run

Start by checking the control plane and data plane versions. Each minor line has its own fixed release: 1.32.1 for 1.32, 1.31.5 for 1.31 and 1.30.9 for 1.30. Download the matching istioctl and run the precheck against the cluster before changing anything.

istioctl version
curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.32.1 sh -
./istio-1.32.1/bin/istioctl x precheck

The precheck looks for general problems that would block an install or upgrade. It does not know about the behavior changes in this release, so the next three steps check for those by hand.

Step 2: review ambient authorization policies

Before this release, ztunnel ignored the trustDomains and notTrustDomains fields of an AuthorizationPolicy source, and the source.trustDomain condition. It also did not expand the trust domain aliases from meshConfig.trustDomainAliases in principals, notPrincipals and the source.principal condition. The result was that a DENY policy could fail to apply and an ALLOW policy could let in identities it was meant to exclude. Sidecars and waypoints were not affected. Only policies enforced by ztunnel were.

The fix makes ztunnel enforce these restrictions. That is the point of the patch, but it means a policy that looked fine yesterday can match more or less traffic after the upgrade. Find every policy that uses the trust domain fields or condition:

kubectl get authorizationpolicies.security.istio.io -A -o json | jq -r '
  .items[]
  | select([.. | objects | has("trustDomains") or has("notTrustDomains") or (.key? == "source.trustDomain")] | any)
  | "\(.metadata.namespace)/\(.metadata.name)"'

Next, check whether your mesh config defines trust domain aliases. If it does, any policy with principals or notPrincipals that ztunnel enforces will also start matching the aliased identities.

kubectl get configmap istio -n istio-system -o jsonpath='{.data.mesh}' | grep -A5 trustDomainAliases

Rules ztunnel cannot enforce as written

ztunnel supports only * or a single trailing wildcard in a trust domain, and it cannot combine principals and trustDomains in one source when the principals are wildcards or none of them belong to the listed trust domains. When a policy hits one of these limits, istiod changes how it is applied. In an ALLOW policy the affected rules are dropped, which makes the policy more restrictive than you wrote it. In a DENY policy an unenforceable trustDomains list is replaced by a rule that requires any peer identity, so it can deny more traffic, up to everything in its scope including plaintext.

Here is a policy that falls into that trap. The principal is a wildcard, so ztunnel cannot combine it with the trust domain, and the whole rule is omitted. Workloads labeled app: reports then reject all traffic this rule was meant to admit.

apiVersion: security.istio.io/v1
kind: AuthorizationPolicy
metadata:
  name: allow-partner-domain
  namespace: reports
spec:
  selector:
    matchLabels:
      app: reports
  action: ALLOW
  rules:
  - from:
    - source:
        principals: ["*"]
        trustDomains: ["partner.example.com"]

Splitting the condition into a form ztunnel supports, such as trustDomains alone, keeps the intent. If you need the combination, attach the policy to a waypoint with targetRefs instead, because waypoints enforce the full AuthorizationPolicy API.

Step 3: measure your JWKS responses

istiod now refuses JWKS and OpenID discovery responses larger than PILOT_JWKS_RESOLVER_MAX_RESPONSE_BYTES, which defaults to 1 MiB (1048576 bytes). A real JWKS document is usually a few kilobytes, so most meshes will never notice. It is still worth a minute to check, because a rejected key set breaks token validation for every workload that relies on it.

List the key URLs your RequestAuthentication resources point at, then measure each one. A rule without jwksUri makes istiod fetch keys through OpenID discovery on the issuer, so check those issuers too.

kubectl get requestauthentications.security.istio.io -A -o json \
  | jq -r '.items[].spec.jwtRules[]? | .jwksUri // empty' | sort -u
curl -s https://id.example.com/.well-known/jwks.json | wc -c

If one of them really is larger than 1 MiB, raise the limit on istiod. With an IstioOperator overlay the variable goes under values.pilot.env. With Helm, the istiod chart reads it from env.

apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  values:
    pilot:
      env:
        PILOT_JWKS_RESOLVER_MAX_RESPONSE_BYTES: "2097152"

Step 4: remove internal annotations

The annotations internal.istio.io/gateway-semantics and internal.istio.io/service-account-name are meant for Istio itself, but nothing stopped users from setting them on resources, which could change validation behavior or escalate privileges. After the patch, validation rejects them and istiod ignores them when it reads resources from the cluster. An existing resource that carries either annotation fails validation the next time anyone updates it, which can break a GitOps sync or a Helm upgrade long after the Istio patch itself.

This loop prints every Istio resource that carries one of the two annotations:

for kind in \
  virtualservices.networking.istio.io destinationrules.networking.istio.io \
  gateways.networking.istio.io serviceentries.networking.istio.io \
  sidecars.networking.istio.io envoyfilters.networking.istio.io \
  workloadentries.networking.istio.io workloadgroups.networking.istio.io \
  authorizationpolicies.security.istio.io peerauthentications.security.istio.io \
  requestauthentications.security.istio.io telemetries.telemetry.istio.io \
  wasmplugins.extensions.istio.io; do
  kubectl get "$kind" -A -o json | jq -r --arg k "$kind" '
    .items[]
    | select(.metadata.annotations // {} | has("internal.istio.io/gateway-semantics") or has("internal.istio.io/service-account-name"))
    | "\($k) \(.metadata.namespace)/\(.metadata.name)"'
done

Remove the annotations with a trailing hyphen, and delete them from the source manifests in Git as well. Otherwise the next sync puts them back and gets rejected.

kubectl annotate virtualservices.networking.istio.io reviews -n bookinfo \
  internal.istio.io/gateway-semantics- internal.istio.io/service-account-name-

Step 5: upgrade the control plane, then the data plane

For a patch inside the same minor version, an in-place upgrade is the simplest path. If you installed with istioctl and no revision, run istioctl upgrade with the same overlay file you installed with, so your customizations carry over. Revision-based installs follow the canary process instead: install the patched revision next to the old one and move tags across.

./istio-1.32.1/bin/istioctl upgrade -f my-overlay.yaml

With Helm, upgrade the charts in order: CRDs and base first, then istiod, then the node components if you run ambient mode. Pass the same values files you used at install time.

helm repo update istio
helm upgrade istio-base istio/base -n istio-system --version 1.32.1
helm upgrade istiod istio/istiod -n istio-system --version 1.32.1 -f istiod-values.yaml --wait
helm upgrade istio-cni istio/cni -n istio-system --version 1.32.1 --set profile=ambient --wait
helm upgrade ztunnel istio/ztunnel -n istio-system --version 1.32.1 --wait

Upgrading ztunnel in place briefly disrupts ambient traffic on each node, mostly long-lived connections. The Istio docs suggest cordoning and draining nodes first if your applications cannot tolerate that. Sidecars keep their old proxy version until their pods restart, so roll your workloads and gateways afterwards.

kubectl rollout restart deployment -n shop
istioctl proxy-status

Step 6: check policy status after the upgrade

istiod reports how ztunnel applied each AuthorizationPolicy in a status condition of type ZtunnelAccepted. A policy that applied as written has the reason Accepted. When ztunnel had to change a policy, for example by dropping an unenforceable trust domain rule, the reason is UnsupportedValue and the message says what was dropped and whether the policy became more restrictive. This query lists every policy that did not apply cleanly:

kubectl get authorizationpolicies.security.istio.io -A -o json | jq -r '
  .items[] | .metadata as $m
  | .status.conditions[]?
  | select(.type == "ZtunnelAccepted" and .reason != "Accepted")
  | "\($m.namespace)/\($m.name): \(.reason): \(.message)"'

Read each message carefully. The phrase "This DENY policy now matches all traffic in its scope" means the policy now blocks every connection to the workloads it selects, so fix it right away.

Other fixes in 1.32.1

The patch also carries ordinary bug fixes, and a few of them may explain problems you have been chasing. After an istiod restart in meshes with many ServiceEntry resources, clusters for resolution: DNS hosts could go missing from every proxy, so requests failed with 503 cluster_not_found until an unrelated config change. Ambient pods whose network namespace was replaced without a new UID could stay outside the mesh, running without redirection and outside their own authorization policy. Waypoints and gateways now send HTTP/2 keepalive pings on HBONE connections, so they stop sending requests to pods that vanished without closing the connection.

Two changes affect how you fetch and configure Istio. Release images and samples now default to docker.io/istio and the OCI Helm charts to ghcr.io/istio/release, because registry.istio.io/release is being retired. If you mirror images, update the source you pull from. 1.32.1 also moves to Gateway API 1.7.0, where the experimental XBackend resource uses spec.port.number instead of spec.port.port and renames the status parents field to ancestors.

Test yourself

Ready to test your Istio knowledge? Try our Istio quiz!