CVE-2026-145239 — Istio.io/istio — CWE-863
### Summary `AuthorizationPolicy` `source.ipBlocks`, `source.notIpBlocks` and the `source.ip` condition on ambient waypoints, and on sidecars receiving HBONE traffic, match the Envoy internal listener address, not the client IP. `DENY` rules on `ipBlocks` fail open, `notIpBlocks` rules match every request. `CUSTOM` rules on `ipBlocks` skip the external authorizer. ### Details `ipBlocks`, `notIpBlocks` and `source.ip` are translated to the RBAC `direct_remote_ip` principal ([generator.go](https://github.com/istio/istio/blob/1.31.3/pilot/pkg/security/authz/model/generator.go#L151-L157)). Waypoints, and sidecars for HBONE inbound traffic, enforce policy on the `main_internal` internal listener, where the direct remote address is always `envoy://internal`. The `original_dst` listener filter only restores the remote address, so `remoteIpBlocks`/`notRemoteIpBlocks` and `remote.ip` (`remote_ip`) work but `ipBlocks`/`notIpBlocks`/`source.ip` never see the client IP. This applies to `ALLOW`, `DENY` and `CUSTOM` actions. HTTP and TCP traffic are both affected. Fixes are available in 1.31.4 and 1.30.8. Workaround: use `remoteIpBlocks`, `notRemoteIpBlocks` and `remote.ip` instead of `ipBlocks`, `notIpBlocks` and `source.ip` in policies that apply to waypoints or to sidecars receiving HBONE traffic. ### Proof of concept Ambient namespace with a client pod and a waypoint, then a `DENY` on the client pod IP: ```yaml apiVersion: security.istio.io/v1 kind: AuthorizationPolicy metada
### Summary `AuthorizationPolicy` `source.ipBlocks`, `source.notIpBlocks` and the `source.ip` condition on ambient waypoints, and on sidecars receiving HBONE traffic, match the Envoy internal listener address, not the client IP. `DENY` rules on `ipBlocks` fail open, `notIpBlocks` rules match every request. `CUSTOM` rules on `ipBlocks` skip the external authorizer. ### Details `ipBlocks`, `notIpBlocks` and `source.ip` are translated to the RBAC `direct_remote_ip` principal ([generator.go](https://github.com/istio/istio/blob/1.31.3/pilot/pkg/security/authz/model/generator.go#L151-L157)). Waypoints, and sidecars for HBONE inbound traffic, enforce policy on the `main_internal` internal listener, where the direct remote address is always `envoy://internal`. The `original_dst` listener filter only restores the remote address, so `remoteIpBlocks`/`notRemoteIpBlocks` and `remote.ip` (`remote_ip`) work but `ipBlocks`/`notIpBlocks`/`source.ip` never see the client IP. This applies to `ALLOW`, `DENY` and `CUSTOM` actions. HTTP and TCP traffic are both affected. Fixes are available in 1.31.4 and 1.30.8. Workaround: use `remoteIpBlocks`, `notRemoteIpBlocks` and `remote.ip` instead of `ipBlocks`, `notIpBlocks` and `source.ip` in policies that apply to waypoints or to sidecars receiving HBONE traffic. ### Proof of concept Ambient namespace with a client pod and a waypoint, then a `DENY` on the client pod IP: ```yaml apiVersion: security.istio.io/v1 kind: AuthorizationPolicy metada
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-145239
CVSS 5.6/10 · MEDIUM · 04.12.2026
CWE: CWE-863
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Summary
AuthorizationPolicy source.ipBlocks, source.notIpBlocks and the source.ip condition on ambient waypoints, and on sidecars receiving HBONE traffic, match the Envoy internal listener address, not the client IP. DENY rules on ipBlocks fail open, notIpBlocks rules match every request. CUSTOM rules on ipBlocks skip the external authorizer.
Affected: istio.io/istio
⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N).
🌍 REAL WORLD IMPACT
All confidential data readable/stealable; limited integrity modification (I:L); reduced availability or partial DoS (A:L).
🛡️ REMEDIATION
→ Apply vendor security update for istio.io/istio.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
📋 Routine update cycle (30 days)
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]