- Severity: MEDIUM
- CVE: CVE-2026-145367
- Ecosystems: go
- Packages: istio.io/istio
### Summary
In ambient mode, `istiod` does not correctly convert the `trustDomains` and `notTrustDomains` source fields, or the `source.trustDomain` condition, of an `AuthorizationPolicy` into the policy that ztunnel enforces. As a result, a `DENY` rule that relies on them can have no effect, and an `ALLOW` rule that combines them with other source fields can admit callers that it is meant to exclude. Sidecars and waypoint proxies enforce these restrictions.
### Details
`handleRule` in [`pilot/pkg/serviceregistry/ambient/authorization.go`](https://github.com/istio/istio/blob/1.32.0/pilot/pkg/serviceregistry/ambient/authorization.go#L612-L621) converts `AuthorizationPolicy` rules for ztunnel. It builds each source match from IP blocks, namespaces, service accounts and principals. It never reads `trustDomains` or `notTrustDomains`. The intended behavior is to match them against the trust domain of the peer identity, as the sidecar and waypoint conversion does.
The effect depends on the rest of the rule:
| Policy | Behavior in ztunnel |
|——–|———————|
| `DENY`, source sets only trust domain fields | The source becomes an empty match, which ztunnel never matches. If the rule has no other source, the whole rule never matches, including any `to` or `when` restrictions in it. |
| `DENY`, trust domain fields combined with another field, such as `namespaces` | Only the other field is enforced. The rule denies more traffic than requested. |
| `ALLOW`, source sets…
Source: GitHub Security Advisories · 2026-12-04