CVE-2026-145364: Istio Ambient Mode MTLS Bypass Vulnerability

HIGH
Advisory Identifier: GHSA-rr2c-p22p-6r9r
CVSS 8.2
CWE-693 CWE-783
Published
Advisory Summary

CVE-2026-145364 is a HIGH (CVSS 8.2) ambient mode mtls bypass vulnerability (CWE-693: Protection Mechanism Failure) affecting Istio libraries in the Go ecosystem. The issue involves ambient mode mtls bypass via peerauthentication bug. Remediation is available by upgrading affected packages to version 0.0.0-20261106211527-30de921835cb.

CVE-2026-145364 at a Glance

CVE Identifier CVE-2026-145364
GHSA Identifier GHSA-rr2c-p22p-6r9r
Severity HIGH
CVSS v3.1 Base Score 8.2
CWE Classification CWE-693: Protection Mechanism Failure
Affected Product Istio
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.2

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

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

How to Fix CVE-2026-145364

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-20261106211527-30de921835cb
Upgrade istio.io/istio to 0.0.0-20261106211527-30de921835cb
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-145364, 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-20261106211527-30de921835cb), 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-693: Protection Mechanism Failure, where the product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product. 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 A boolean operator-precedence bug in `convertPeerAuthentication()` (`pilot/pkg/serviceregistry/ambient/authorization.go`) makes Istio ambient mode silently drop per-port STRICT mTLS enforcement. The mesh-level check is missing the "workload-level policy is unset" guard, so the port is wrongly treated as already covered by the mesh-wide STRICT policy. ### Details A boolean operator-precedence error in `convertPeerAuthentication()`  ( `pilot/pkg/serviceregistry/ambient/authorization.go` ) causes Istio ambient mode to silently skip enforcement of a portLevelMtls  STRICT setting. When a workload-level `PeerAuthentication` has mode `PERMISSIVE` or `DISABLE`, it can also set `portLevelMtls` to `STRICT` on a specific port. If the namespace has no `STRICT` `PeerAuthentication` and the mesh-wide (root namespace) `PeerAuthentication` is `STRICT`, the port is wrongly treated as already enforced by the parent policy. The "workload-level policy is unset" guard applies only to the namespace-level check. The mesh-level check is evaluated without it. As a result, the per-port `DENY` policy is not generated and not sent to ztunnel. The workload still references it by name, which leaves a dangling reference. ztunnel then accepts plaintext connections on a port the operator configured to require mTLS. Sidecar mode enforces `STRICT` correctly in the same configuration, so this is an ambient-only divergence. There is no error or warning. Fixes are available in 1.31.4 and 1.30.8. ### Workarounds Until you can upgrade, use one of these: - Set the workload-level `PeerAuthentication` `mtls.mode` to `STRICT`, and use `portLevelMtls` with `PERMISSIVE` only for the ports that need plaintext. - Add a namespace-level `STRICT` `PeerAuthentication` in the affected namespace. ### Proof of concept * Ambient mode. * The mesh-wide `PeerAuthentication` in `istio-system` is `STRICT`, and the namespace has no `PeerAuthentication`. ```yaml apiVersion: security.istio.io/v1 kind: PeerAuthentication metadata: name: workload-port-strict spec: selector: matchLabels: app: workload mtls: mode: PERMISSIVE portLevelMtls: 8443: mode: STRICT ``` Send plaintext from a non-mesh client to port 8443: ```bash curl -sv --max-time 5 http://workload:8443/ ``` | Parent of STRICT | Result | |---|---| | Mesh-wide STRICT (bug) | HTTP 200, plaintext accepted | | Namespace-wide STRICT (control) | Connection reset, rejected | In the bug case, ztunnel has no `converted_peer_authentication_workload-port-strict` policy, but the workload still references it by name. **Cause:** in `convertPeerAuthentication()`, `A || (B && C) || D` should be `A || (B && (C || D))`. The mesh-level check (D) skips the port without the "workload-level unset" guard (B).

CVE-2026-145364 Affected Istio Versions

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

References

Frequently Asked Questions

What is CVE-2026-145364?
CVE-2026-145364 is a security vulnerability in Istio involving Ambient mode mTLS bypass via PeerAuthentication bug under CWE-693: Protection Mechanism Failure.
Which Istio versions are affected?
Affected versions include releases prior to 0.0.0-20261106211527-30de921835cb across affected packages: istio.io/istio.
What version fixes CVE-2026-145364?
Upgrading to 0.0.0-20261106211527-30de921835cb (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-20261106211527-30de921835cb. Upgrade your dependency to 0.0.0-20261106211527-30de921835cb or later.
What is the CVSS score of CVE-2026-145364?
CVE-2026-145364 has a CVSS v3.1 base score of 8.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N.
What CWE is associated with CVE-2026-145364?
CVE-2026-145364 is classified under CWE-693: Protection Mechanism Failure (The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.).
How can I check Go dependencies for CVE-2026-145364?
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-rr2c-p22p-6r9r",
  "modified" : "2026-12-04T22:07:09Z",
  "published" : "2026-12-04T22:07:09Z",
  "aliases" : [ "CVE-2026-145364" ],
  "summary" : "Istio: Ambient mode mTLS bypass via PeerAuthentication bug",
  "details" : "### Summary\n\nA boolean operator-precedence bug in `convertPeerAuthentication()` (`pilot/pkg/serviceregistry/ambient/authorization.go`) makes Istio ambient mode silently drop per-port STRICT mTLS enforcement. The mesh-level check is missing the \"workload-level policy is unset\" guard, so the port is wrongly treated as already covered by the mesh-wide STRICT policy.\n\n\n### Details\n\nA boolean operator-precedence error in `convertPeerAuthentication()`  ( `pilot/pkg/serviceregistry/ambient/authorization.go` ) causes Istio ambient mode to silently skip enforcement of a portLevelMtls  STRICT setting.\n\nWhen a workload-level `PeerAuthentication` has mode `PERMISSIVE` or `DISABLE`, it can also set `portLevelMtls` to `STRICT` on a specific port. If the namespace has no `STRICT` `PeerAuthentication` and the mesh-wide (root namespace) `PeerAuthentication` is `STRICT`, the port is wrongly treated as already enforced by the parent policy. The \"workload-level policy is unset\" guard applies only to the namespace-level check. The mesh-level check is evaluated without it.\n\nAs a result, the per-port `DENY` policy is not generated and not sent to ztunnel. The workload still references it by name, which leaves a dangling reference. ztunnel then accepts plaintext connections on a port the operator configured to require mTLS. Sidecar mode enforces `STRICT` correctly in the same configuration, so this is an ambient-only divergence. There is no error or warning.\n\nFixes are available in 1.31.4 and 1.30.8.\n\n### Workarounds\n\nUntil you can upgrade, use one of these:\n\n- Set the workload-level `PeerAuthentication` `mtls.mode` to `STRICT`, and use `portLevelMtls` with `PERMISSIVE` only for the ports that need plaintext.\n- Add a namespace-level `STRICT` `PeerAuthentication` in the affected namespace.\n\n### Proof of concept\n\n* Ambient mode. \n* The mesh-wide `PeerAuthentication` in `istio-system` is `STRICT`, and the namespace has no `PeerAuthentication`.\n\n```yaml\napiVersion: security.istio.io/v1\nkind: PeerAuthentication\nmetadata:\n  name: workload-port-strict\nspec:\n  selector:\n    matchLabels:\n      app: workload\n  mtls:\n    mode: PERMISSIVE\n  portLevelMtls:\n    8443:\n      mode: STRICT\n```\n\nSend plaintext from a non-mesh client to port 8443:\n\n```bash\ncurl -sv --max-time 5 http://workload:8443/\n```\n\n| Parent of STRICT | Result |\n|---|---|\n| Mesh-wide STRICT (bug) | HTTP 200, plaintext accepted |\n| Namespace-wide STRICT (control) | Connection reset, rejected |\n\nIn the bug case, ztunnel has no `converted_peer_authentication_workload-port-strict` policy, but the workload still references it by name.\n\n**Cause:** in `convertPeerAuthentication()`, `A || (B && C) || D` should be `A || (B && (C || D))`. The mesh-level check (D) skips the port without the \"workload-level unset\" guard (B).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "istio.io/istio"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.0.0-20260112152740-3af7534ca9a9"
      }, {
        "fixed" : "0.0.0-20261106211527-30de921835cb"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/security/advisories/GHSA-rr2c-p22p-6r9r"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/03a427bc69a4621d2e6006c0f18bc873a6d23d3a"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/30de921835cb2e1ca5ae4538cccc7b4f2beeaa29"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/33369baf78eb3219f712fe48e8074f90d51f0202"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/7bc0eb20bc839d467968b426d73e42dd7addaba3"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/istio/istio"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/releases/tag/1.30.8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/releases/tag/1.31.4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/releases/tag/1.32.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-693", "CWE-783" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-04T22:07:09Z",
    "nvd_published_at" : null
  }
}