{"id":"GHSA-8jw7-82jp-wr2c","summary":"Istio: istiod crash via AuthorizationPolicy with empty to or from entry in ambient mode","details":"### Summary\n\nAn AuthorizationPolicy with an empty `to` or `from` entry crashes istiod mesh-wide in ambient mode, and istiod crash-loops until the policy is removed.\n\n### Details\n\nIn 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.\n\n### Patches\n\nFixes are available in 1.30.8 and 1.31.4\n\n### Workarounds\n\nKeep 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.\n\n### Proof of concept\n\n1. Install Istio with ambient mode and an AuthorizationPolicy path that skips validation (e.g. `--set values.global.configValidation=false`).\n2. In any namespace, create:\n\n   ```yaml\n   apiVersion: security.istio.io/v1\n   kind: AuthorizationPolicy\n   metadata:\n     name: crash\n   spec:\n     rules:\n     - to:\n       - {}\n   ```\n\n\n3. istiod panics with a nil pointer dereference and crash-loops; deleting the AuthorizationPolicy recovers it. `from: [{}]` has the same effect.\n\n\n### Impact\n\nDenial 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.","aliases":["CVE-2026-144421"],"modified":"2026-12-05T18:48:25.156247630Z","published":"2026-12-04T21:29:02Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-12-04T21:29:02Z","nvd_published_at":"2026-12-04T21:17:55Z","cwe_ids":["CWE-476"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/istio/istio/security/advisories/GHSA-8jw7-82jp-wr2c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144421"},{"type":"WEB","url":"https://github.com/istio/istio/commit/1556b352b64d24d610bea98c77e9dcfb25154c42"},{"type":"WEB","url":"https://github.com/istio/istio/commit/1ad3f024f27bf4a86b7698f4570d4bf2462dadec"},{"type":"WEB","url":"https://github.com/istio/istio/commit/b0ab1e01fb42eaea962a02dc5b0bc73340934590"},{"type":"WEB","url":"https://github.com/istio/istio/commit/f6879bae446c19c398d0f844d66fe1c3801b2b25"},{"type":"PACKAGE","url":"https://github.com/istio/istio"},{"type":"WEB","url":"https://github.com/istio/istio/releases/tag/1.30.8"},{"type":"WEB","url":"https://github.com/istio/istio/releases/tag/1.31.4"},{"type":"WEB","url":"https://github.com/istio/istio/releases/tag/1.32.0"}],"affected":[{"package":{"name":"istio.io/istio","ecosystem":"Go","purl":"pkg:golang/istio.io/istio"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-20260112152740-3af7534ca9a9"},{"fixed":"0.0.0-20261107225427-1556b352b64d"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-8jw7-82jp-wr2c/GHSA-8jw7-82jp-wr2c.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H"}]}