{"id":"CVE-2026-145239","aliases":["EUVD-2026-144830","GHSA-9gqj-583v-mpqp"],"status":"published","title":"Istio: AuthorizationPolicy ipBlocks, notIpBlocks and source.ip not enforced on waypoints and sidecar HBONE inbound","description":"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 direct_remote_ip on the main_internal 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.","severity":{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-863"],"published":"2026-12-04T21:03:20Z","modified":"2026-12-04T23:00:40Z","fixes":[{"ecosystem":"Go","package":"istio.io/istio","fixed_in":["0.0.0-20261104183325-d9fa8b0cb2f6"],"sources":["ghsa"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"istio.io/istio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0-20260112152740-3af7534ca9a9"},{"fixed":"0.0.0-20261104183325-d9fa8b0cb2f6"}]}]}],"products":[{"vendor":"istio","product":"istio"}],"references":[{"url":"https://github.com/istio/istio/security/advisories/GHSA-9gqj-583v-mpqp","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/istio/istio/issues/62522","tags":["x_refsource_MISC","report"]},{"url":"https://github.com/istio/istio/pull/62558","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/istio/istio/pull/62636","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/istio/istio/pull/62644","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/istio/istio/pull/62645","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/istio/istio/commit/6a20e06275da959a4d06ffbcc8260e5891d0143c","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/istio/istio/commit/9dbea67dd920f0d52ae3d1acb865c750375086bb","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/istio/istio/commit/d06f9cb29e319153d6806474405032bbbfd99561","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/istio/istio/commit/d9fa8b0cb2f652579659bde1ebcf7b3bdf013471","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/istio/istio/releases/tag/1.30.8","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/istio/istio/releases/tag/1.31.4","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/istio/istio/releases/tag/1.32.0","tags":["x_refsource_MISC","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145239","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9gqj-583v-mpqp"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145239.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-145239","title":"Istio: AuthorizationPolicy ipBlocks, notIpBlocks and source.ip not enforced on waypoints and sidecar HBONE inbound","description":"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 direct_remote_ip on the main_internal 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.","status":"published","published":"2026-12-04T21:03:20.176Z","modified":"2026-12-04T21:03:20.176Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-863"],"updated_at":"2026-12-04T21:10:10.68876Z"}],"euvd":[{"id":"EUVD-2026-144830","description":"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 direct_remote_ip on the main_internal 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.","status":"published","published":"2026-12-04T21:03:20Z","modified":"2026-12-04T21:03:20Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-12-04T22:42:52.420618Z"}],"ghsa":[{"id":"GHSA-9gqj-583v-mpqp","title":"Istio: AuthorizationPolicy ipBlocks, notIpBlocks and source.ip not enforced on waypoints and sidecar HBONE inbound","description":"### Summary\n\n`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.\n\n### Details\n\n`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.\n\nFixes are available in 1.31.4 and 1.30.8.\n\nWorkaround: 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.\n\n\n\n### Proof of concept\n\nAmbient namespace with a client pod and a waypoint, then a `DENY` on the client pod IP:\n\n```yaml\napiVersion: security.istio.io/v1\nkind: AuthorizationPolicy\nmetadata: {name: deny-test, namespace: amb}\nspec:\n  targetRefs: [{kind: Gateway, group: gateway.networking.k8s.io, name: waypoint}]\n  action: DENY\n  rules: [{from: [{source: {ipBlocks: [\"\u003cclient-pod-ip\u003e/32\"]}}]}]\n```\n\nRequests from the client through the waypoint are still allowed. Same policy with `remoteIpBlocks` denies them. `notIpBlocks: [\"\u003cclient-pod-ip\u003e/32\"]` denies the client. Full steps in https://github.com/istio/istio/issues/62522.\n\n\n### Impact\n\nAuthorization 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.","status":"published","published":"2026-12-04T22:11:59Z","modified":"2026-12-04T22:12:02Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-863"],"updated_at":"2026-12-04T22:29:34.61237Z"}],"nvd":[{"id":"CVE-2026-145239","description":"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 direct_remote_ip on the main_internal 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.","status":"published","published":"2026-12-04T21:17:57.56Z","modified":"2026-12-04T21:17:57.56Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-863"],"updated_at":"2026-12-04T21:18:39.886879Z"}],"osv":[{"id":"CVE-2026-145239","title":"Istio: AuthorizationPolicy ipBlocks, notIpBlocks and source.ip not enforced on waypoints and sidecar HBONE inbound","description":"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 direct_remote_ip on the main_internal 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.","status":"published","published":"2026-12-04T21:03:20.176Z","modified":"2026-12-04T23:00:40.347163628Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-863"],"updated_at":"2026-12-04T23:33:23.04011Z"}]}}
