# GHSA-8JW7-82JP-WR2C: istiod crash via AuthorizationPolicy with empty to or from entry in ambient mode

- Database: GitHub
- Severity: CVSS 6.3 (Medium)
- Published: 2026-11-06
- Modified: 2026-12-04

## Tracked as

- [CVE-2026-144421](https://cve.now/CVE-2026-144421.md): Istio denial of service in ambient AuthorizationPolicy handling

## Affected versions

- istio.io/istio (Go): from 1.31.0, fixed in 1.31.4
- istio.io/istio (Go): from 1.30.0, fixed in 1.30.8

## Description

### Summary

An AuthorizationPolicy with an empty `to` or `from` entry crashes istiod mesh-wide in ambient mode, and istiod crash-loops until the policy is removed.

### Details

In ambient mode istiod converts each AuthorizationPolicy for ztunnel in handleRule (pilot/pkg/serviceregistry/ambient/authorization.go). It reads `to.operation` and `from.source` without a nil check, so a rule with `to: [{}]` or `from: [{}]` panics on a krt goroutine and takes istiod down. The CRD schema does not require `operation` or `source`, so only the validating webhook rejects these objects. When an AuthorizationPolicy is not validated, e.g. `global.configValidation=false`, an install without `istiod-default-validator` (no default revision) and an object with no `istio.io/rev` label, or the fail-open window before the webhook is ready, the object is stored and istiod crash-loops on every restart until it is deleted. The sidecar and waypoint path is not affected.

### Patches

Fixes are available in 1.30.8 and 1.31.4

### Workarounds

Keep the validating webhook enforcing for all AuthorizationPolicy objects (`global.configValidation=true`, and a default revision or `default` revision tag so `istiod-default-validator` exists). Delete the offending AuthorizationPolicy to recover.

### Proof of concept

1. Install Istio with ambient mode and an AuthorizationPolicy path that skips validation (e.g. `--set values.global.configValidation=false`).
2. In any namespace, create:

   ```yaml
   apiVersion: security.istio.io/v1
   kind: AuthorizationPolicy
   metadata:
     name: crash
   spec:
     rules:
     - to:
       - {}
   ```


3. istiod panics with a nil pointer dereference and crash-loops; deleting the AuthorizationPolicy recovers it. `from: [{}]` has the same effect.


### Impact

Denial of service against the istiod control plane. A tenant with AuthorizationPolicy-create in their own namespace can crash istiod for the whole mesh, crossing a namespace boundary. Config distribution and certificate rotation stall mesh-wide until the policy is removed. Ambient mode only, and only where the AuthorizationPolicy is not rejected by the validating webhook.

## References

- https://github.com/istio/istio/security/advisories/GHSA-8jw7-82jp-wr2c

Page: https://cve.now/GHSA-8JW7-82JP-WR2C

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
