CVE-2026-145239: Istio: AuthorizationPolicy ipBlocks, notIpBlocks and source.ip not enforced on waypoints and sidecar HBONE inbound
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 directremoteip principal (generator.go). Waypoints, and sidecars for HBONE inbound traffic, enforce policy on the maininternal internal listener, where the direct remote address is always envoy://internal. The originaldst listener filter only restores the remote address, so remoteIpBlocks/notRemoteIpBlocks and remote.ip (remoteip) 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 metadata: {name: deny-test, namespace: amb} spec: targetRefs: [{kind: Gateway, group: gateway.networking.k8s.io, name: waypoint}] action: DENY rules: [{from: [{source: {ipBlocks: ["<client-pod-ip>/32"]}}]}]
Requests from the client through the waypoint are still allowed. Same policy with remoteIpBlocks denies them. notIpBlocks: ["<client-pod-ip>/32"] denies the client. Full steps in https://github.com/istio/istio/issues/62522.
Impact
Authorization bypass. Users relying on ipBlocks or source.ip in DENY, ALLOW or CUSTOM policies on waypoints, or on sidecars receiving HBONE traffic from ambient workloads, to restrict clients get no enforcement from those rules, and notIpBlocks rules can deny legitimate traffic. Gateways are not affected in any release. Sidecars are only affected for HBONE traffic.
Other sources
Istio is an open platform to connect, manage, and secure microservices. From 1.30.0 until 1.30.8 and 1.31.4, AuthorizationPolicy fields source.ipBlocks, source.notIpBlocks, and the source.ip condition compile to directremoteip on the maininternal listener used by ambient waypoints and sidecar HBONE inbound traffic. That listener sees envoy://internal instead of the client address. On these paths, DENY rules that rely on ipBlocks can fail open, CUSTOM rules that rely on ipBlocks can skip the external authorizer, and notIpBlocks rules can match every request; source.ip restrictions are likewise evaluated against the internal address for HTTP and TCP traffic. This issue is fixed in versions 1.30.8 and 1.31.4.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
go/istio.io/istioto a version that resolves this vulnerability.Fixed in 0.0.0-20261104183325-d9fa8b0cb2f6 - Upgrade
Upgrade
istio/istioto a version that resolves this vulnerability.Fixed in 1.30.8 - Upgrade
Upgrade
istio/istioto a version that resolves this vulnerability.Fixed in 1.31.4 - Configuration
For policies applying to waypoints or sidecars receiving HBONE traffic, use remoteIpBlocks, notRemoteIpBlocks, and remote.ip instead of source.ipBlocks, source.notIpBlocks, and source.ip.
Istio AuthorizationPolicy source.ipBlocks, source.notIpBlocks, and source.ip = remoteIpBlocks, notRemoteIpBlocks, and remote.ip
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using ambient waypoints or sidecar HBONE inbound traffic are affected when their AuthorizationPolicy uses source.ipBlocks, source.notIpBlocks, or source.ip. The affected versions are Istio 1.30.0 through 1.30.8 and 1.31.4.
What policy outcomes can this cause?
DENY rules relying on ipBlocks can fail open, allowing traffic that should be denied. CUSTOM rules relying on ipBlocks can bypass the external authorizer, while notIpBlocks rules can match every request; source.ip conditions are evaluated using an internal Envoy address rather than the client address.
Does exploitation require authentication or user interaction?
No. The provided vector indicates network access is required, with no privileges or user interaction required, although exploitation has high attack complexity.
How can I remediate the issue?
Upgrade to an Istio version containing the fix: 1.30.8 or 1.31.4. Review AuthorizationPolicies on waypoint and sidecar HBONE inbound paths that use the affected source IP fields, especially DENY and CUSTOM policies.