CVE-2026-145367: Istio Remote Code Execution Vulnerability

MODERATE
Advisory Identifier: GHSA-2crx-44xc-8wq7
CVSS 6.8
CWE-863 CWE-636
Published
Advisory Summary

CVE-2026-145367 is a MODERATE (CVSS 6.8) remote code execution vulnerability (CWE-863: Incorrect Authorization) affecting Istio libraries in the Go ecosystem. The issue involves ztunnel does not enforce authorizationpolicy trust domain restrictions. Remediation is available by upgrading affected packages to version 0.0.0-20261202191158-a07a301441fc.

CVE-2026-145367 at a Glance

CVE Identifier CVE-2026-145367
GHSA Identifier GHSA-2crx-44xc-8wq7
Severity MODERATE
CVSS v3.1 Base Score 6.8
CWE Classification CWE-863: Incorrect Authorization
Affected Product Istio
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-145367

To remediate this vulnerability, upgrade all affected Istio dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

istio.io/istio fixed: 0.0.0-20261202191158-a07a301441fc
Upgrade istio.io/istio to 0.0.0-20261202191158-a07a301441fc
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for istio.io/istio

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-145367, inspect your project dependencies for Istio:

inspect dependencies for istio.io/istio

Analyze the terminal output to locate any version of Istio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20261202191158-a07a301441fc), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Istio, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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 only trust domain fields | The source never matches. Traffic that should be allowed through it is not. | | `ALLOW`, trust domain fields combined with another field | Only the other field is enforced. Callers outside the requested trust domains, or in excluded ones, can be admitted. | For these two fields, the policy status does not report a problem and can show that the policy is attached to ztunnel. For a `DENY` rule whose sources set only trust domain fields and that has no `to` section, validation can return a warning that the policy will deny all TCP traffic. The actual behavior is the opposite. The `source.trustDomain` condition is a related variant. ztunnel conversion treats it as an unsupported attribute. A `DENY` rule that uses it never matches. An `ALLOW` rule that uses it is omitted, which is more restrictive than requested. In this case the policy status reports an unsupported attribute. Depending on the release, the status message can wrongly describe the `DENY` policy as more restrictive than requested. The fix enforces these restrictions in ztunnel, including trust domain aliases. Some restrictions cannot be expressed in ztunnel: a wildcard other than `*` or a single trailing wildcard, and some combinations of `principals` and `trustDomains`. For those, `ALLOW` rules are omitted, `DENY` rules can deny more traffic than requested, and the policy status reports it. Review such policies before upgrading. Fixes are available in 1.30.9, 1.31.5 and 1.32.1 patch releases. ### Workaround Until you upgrade, express the restriction in a form that is enforced. Test the result, and apply the replacement before removing the original policy. - Replace trust domain restrictions with principal restrictions. Use `principals: ["example.org/*"]` for `trustDomains: ["example.org"]`, `notPrincipals: ["example.org/*"]` for `notTrustDomains: ["example.org"]`, and the `source.principal` condition for `source.trustDomain`. List the trust domain and each of its aliases explicitly. `*` and a trailing wildcard such as `team-*` can be written as `principals: ["*"]` and `principals: ["team-*"]`. Trade-offs: other wildcard forms cannot be expressed this way. `principals` and `notPrincipals` cannot be combined with `serviceAccounts` or `notServiceAccounts`. Values within `principals` are alternatives, so if a source already sets `principals`, keep only the entries that belong to the intended trust domains instead of adding a trust domain wildcard. - Enforce the policy at a waypoint proxy. Deploy a waypoint for the destination and attach the policy with `targetRefs` instead of a `selector`. Also apply a ztunnel-enforced `ALLOW` policy on the destination workload that admits only the waypoint identity, so that traffic cannot bypass the waypoint. Trade-offs: this adds a proxy hop, and the additional policy blocks clients that connect to the workload without passing through the waypoint. Remove the original `selector` policy, because ztunnel at the destination sees the waypoint identity as the source. ### Proof of concept An ambient workload `httpbin` runs in namespace `td-server` with no waypoint. Clients run in namespaces `td-client` and `td-other`. The mesh trust domain is `cluster.local`. Case 1, a `DENY` that is not enforced: ```yaml apiVersion: security.istio.io/v1 kind: AuthorizationPolicy metadata: name: deny-trust-domain namespace: td-server spec: selector: matchLabels: app: httpbin action: DENY rules: - from: - source: trustDomains: ["cluster.local"] ``` Send a request from either client: ```sh curl -s -o /dev/null -w '%{http_code}\n' http://httpbin.td-server:<port>/ ``` - Observed: both clients receive `200`. The ztunnel policy contains an empty match (`[[[{}]]]` in `istioctl ztunnel-config policy -o json`). - Expected: both connections are denied. The same policy on a sidecar workload returns `403`. Case 2, an `ALLOW` that admits an excluded trust domain. Remove the policy from case 1 and apply: ```yaml apiVersion: security.istio.io/v1 kind: AuthorizationPolicy metadata: name: allow-namespace-except-trust-domain namespace: td-server spec: selector: matchLabels: app: httpbin action: ALLOW rules: - from: - source: namespaces: ["td-client"] notTrustDomains: ["cluster.local"] ``` - Observed: the request from `td-client` receives `200`. The request from `td-other` is denied. - Expected: both requests are denied. The same policy on a sidecar workload returns `403` for `td-client`. ### Impact This affects ambient mode users who have an `AuthorizationPolicy` that is enforced by ztunnel (scoped by `selector`, namespace or root namespace) and that uses `trustDomains`, `notTrustDomains` or the `source.trustDomain` condition. A caller that can reach an affected workload, and that the policy is meant to reject because of its trust domain, can access it. This affects the confidentiality and integrity of the protected service. No configuration change or Kubernetes permission is needed by the caller. Exploitation depends on how the operator wrote the policy. The typical attacker holds a valid identity in a trust domain that the mesh trusts. Where the workload also accepts plaintext traffic (`PERMISSIVE` mTLS), a `DENY` rule that uses only `notTrustDomains` also fails to reject callers that have no identity. Some combinations have the opposite effect and reject legitimate traffic, as described in Details. Not affected: policies enforced by sidecars, gateways or waypoint proxies (including `targetRefs` policies on a waypoint), policies that do not use trust domain restrictions, and mTLS authentication of peers.

CVE-2026-145367 Affected Istio Versions

1 component(s)
Fixed Versions:
0.0.0-20261202191158-a07a301441fc
Product / Package Ecosystem Affected Versions Fixed Version
istio.io/istio
Go
≥ 0.0.0-20260112152740-3af7534ca9a9
< 0.0.0-20261202191158-a07a301441fc
0.0.0-20261202191158-a07a301441fc

References

Frequently Asked Questions

What is CVE-2026-145367?
CVE-2026-145367 is a security vulnerability in Istio involving ztunnel does not enforce AuthorizationPolicy trust domain restrictions under CWE-863: Incorrect Authorization.
Which Istio versions are affected?
Affected versions include releases prior to 0.0.0-20261202191158-a07a301441fc across affected packages: istio.io/istio.
What version fixes CVE-2026-145367?
Upgrading to 0.0.0-20261202191158-a07a301441fc (or the latest patched release for your respective branch) resolves the vulnerability.
Is istio.io/istio affected?
Yes, istio.io/istio is affected in releases prior to 0.0.0-20261202191158-a07a301441fc. Upgrade your dependency to 0.0.0-20261202191158-a07a301441fc or later.
What is the CVSS score of CVE-2026-145367?
CVE-2026-145367 has a CVSS v3.1 base score of 6.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-145367?
CVE-2026-145367 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Go dependencies for CVE-2026-145367?
Run the dependency tree command: 'inspect dependencies for istio.io/istio'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2crx-44xc-8wq7",
  "modified" : "2026-12-04T23:00:04Z",
  "published" : "2026-12-04T23:00:04Z",
  "aliases" : [ "CVE-2026-145367" ],
  "summary" : "Istio: ztunnel does not enforce AuthorizationPolicy trust domain restrictions",
  "details" : "### Summary\n\nIn 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.\n\n### Details\n\n`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.\n\nThe effect depends on the rest of the rule:\n\n| Policy | Behavior in ztunnel |\n|--------|---------------------|\n| `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. |\n| `DENY`, trust domain fields combined with another field, such as `namespaces` | Only the other field is enforced. The rule denies more traffic than requested. |\n| `ALLOW`, source sets only trust domain fields | The source never matches. Traffic that should be allowed through it is not. |\n| `ALLOW`, trust domain fields combined with another field | Only the other field is enforced. Callers outside the requested trust domains, or in excluded ones, can be admitted. |\n\nFor these two fields, the policy status does not report a problem and can show that the policy is attached to ztunnel. For a `DENY` rule whose sources set only trust domain fields and that has no `to` section, validation can return a warning that the policy will deny all TCP traffic. The actual behavior is the opposite.\n\nThe `source.trustDomain` condition is a related variant. ztunnel conversion treats it as an unsupported attribute. A `DENY` rule that uses it never matches. An `ALLOW` rule that uses it is omitted, which is more restrictive than requested. In this case the policy status reports an unsupported attribute. Depending on the release, the status message can wrongly describe the `DENY` policy as more restrictive than requested.\n\nThe fix enforces these restrictions in ztunnel, including trust domain aliases. Some restrictions cannot be expressed in ztunnel: a wildcard other than `*` or a single trailing wildcard, and some combinations of `principals` and `trustDomains`. For those, `ALLOW` rules are omitted, `DENY` rules can deny more traffic than requested, and the policy status reports it. Review such policies before upgrading.\n\nFixes are available in 1.30.9, 1.31.5 and 1.32.1 patch releases.\n\n### Workaround\n\nUntil you upgrade, express the restriction in a form that is enforced. Test the result, and apply the replacement before removing the original policy.\n\n- Replace trust domain restrictions with principal restrictions. Use `principals: [\"example.org/*\"]` for `trustDomains: [\"example.org\"]`, `notPrincipals: [\"example.org/*\"]` for `notTrustDomains: [\"example.org\"]`, and the `source.principal` condition for `source.trustDomain`. List the trust domain and each of its aliases explicitly. `*` and a trailing wildcard such as `team-*` can be written as `principals: [\"*\"]` and `principals: [\"team-*\"]`. Trade-offs: other wildcard forms cannot be expressed this way. `principals` and `notPrincipals` cannot be combined with `serviceAccounts` or `notServiceAccounts`. Values within `principals` are alternatives, so if a source already sets `principals`, keep only the entries that belong to the intended trust domains instead of adding a trust domain wildcard.\n- Enforce the policy at a waypoint proxy. Deploy a waypoint for the destination and attach the policy with `targetRefs` instead of a `selector`. Also apply a ztunnel-enforced `ALLOW` policy on the destination workload that admits only the waypoint identity, so that traffic cannot bypass the waypoint. Trade-offs: this adds a proxy hop, and the additional policy blocks clients that connect to the workload without passing through the waypoint. Remove the original `selector` policy, because ztunnel at the destination sees the waypoint identity as the source.\n\n### Proof of concept\n\nAn ambient workload `httpbin` runs in namespace `td-server` with no waypoint. Clients run in namespaces `td-client` and `td-other`. The mesh trust domain is `cluster.local`.\n\nCase 1, a `DENY` that is not enforced:\n\n```yaml\napiVersion: security.istio.io/v1\nkind: AuthorizationPolicy\nmetadata:\n  name: deny-trust-domain\n  namespace: td-server\nspec:\n  selector:\n    matchLabels:\n      app: httpbin\n  action: DENY\n  rules:\n  - from:\n    - source:\n        trustDomains: [\"cluster.local\"]\n```\n\nSend a request from either client:\n\n```sh\ncurl -s -o /dev/null -w '%{http_code}\\n' http://httpbin.td-server:<port>/\n```\n\n- Observed: both clients receive `200`. The ztunnel policy contains an empty match (`[[[{}]]]` in `istioctl ztunnel-config policy -o json`).\n- Expected: both connections are denied. The same policy on a sidecar workload returns `403`.\n\nCase 2, an `ALLOW` that admits an excluded trust domain. Remove the policy from case 1 and apply:\n\n```yaml\napiVersion: security.istio.io/v1\nkind: AuthorizationPolicy\nmetadata:\n  name: allow-namespace-except-trust-domain\n  namespace: td-server\nspec:\n  selector:\n    matchLabels:\n      app: httpbin\n  action: ALLOW\n  rules:\n  - from:\n    - source:\n        namespaces: [\"td-client\"]\n        notTrustDomains: [\"cluster.local\"]\n```\n\n- Observed: the request from `td-client` receives `200`. The request from `td-other` is denied.\n- Expected: both requests are denied. The same policy on a sidecar workload returns `403` for `td-client`.\n\n### Impact\n\nThis affects ambient mode users who have an `AuthorizationPolicy` that is enforced by ztunnel (scoped by `selector`, namespace or root namespace) and that uses `trustDomains`, `notTrustDomains` or the `source.trustDomain` condition.\n\nA caller that can reach an affected workload, and that the policy is meant to reject because of its trust domain, can access it. This affects the confidentiality and integrity of the protected service. No configuration change or Kubernetes permission is needed by the caller. Exploitation depends on how the operator wrote the policy. The typical attacker holds a valid identity in a trust domain that the mesh trusts. Where the workload also accepts plaintext traffic (`PERMISSIVE` mTLS), a `DENY` rule that uses only `notTrustDomains` also fails to reject callers that have no identity.\n\nSome combinations have the opposite effect and reject legitimate traffic, as described in Details.\n\nNot affected: policies enforced by sidecars, gateways or waypoint proxies (including `targetRefs` policies on a waypoint), policies that do not use trust domain restrictions, and mTLS authentication of peers.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "istio.io/istio"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.0.0-20260112152740-3af7534ca9a9"
      }, {
        "fixed" : "0.0.0-20261202191158-a07a301441fc"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/security/advisories/GHSA-2crx-44xc-8wq7"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/6b287ae54b044448ccbb4d2c045f959021b56e17"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/b9ef120222c5c97a117382bc999900323727f25b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/bc80e3c2eb672352541197081f7609aa9b854b12"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/istio/istio"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/releases/tag/1.30.9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/releases/tag/1.31.5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/releases/tag/1.32.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-636", "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-04T23:00:04Z",
    "nvd_published_at" : null
  }
}