CVE-2026-145364 — Istio: Ambient mode mTLS bypass via PeerAuthentication bug
One of 9 go:istio.io/istio vulnerabilities published together by GitHub Advisory: our article covers all of them.
GoWebVulnerabilitiesSeverity breakdown
High · 8.2
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, low on integrity, none on availability
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| istio.io/istio (Go) | ≥ 0.0.0-20260112152740-3af7534ca9a9, < 0.0.0-20261106211527-30de921835cb | 0.0.0-20261106211527-30de921835cb |
| istio | >= 1.31.0, < 1.31.4, >= 1.30.0, < 1.30.8 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/istio/istio/commit/03a427bc69a4621d2e6006c0f18bc873a6d23d3a
- github.com/istio/istio/commit/30de921835cb2e1ca5ae4538cccc7b4f2beeaa29
- github.com/istio/istio/commit/33369baf78eb3219f712fe48e8074f90d51f0202
- github.com/istio/istio/commit/7bc0eb20bc839d467968b426d73e42dd7addaba3
- github.com/istio/istio/releases/tag/1.30.8
- github.com/istio/istio/releases/tag/1.31.4
- github.com/istio/istio/releases/tag/1.32.0
Other references
Details
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
PeerAuthenticationmtls.modetoSTRICT, and useportLevelMtlswithPERMISSIVEonly for the ports that need plaintext. - Add a namespace-level
STRICTPeerAuthenticationin the affected namespace.
Proof of concept
- Ambient mode.
- The mesh-wide
PeerAuthenticationinistio-systemisSTRICT, and the namespace has noPeerAuthentication.
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:
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).
Affected
- go:istio.io/istio
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-145364?
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. Weakness type: Protection Mechanism Failure (CWE-693).
How severe is CVE-2026-145364?
CVE-2026-145364 has a CVSS 3.1 base score of 8.2 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-145364 being exploited?
Not as far as is known: CVE-2026-145364 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026.
Which versions are affected by CVE-2026-145364?
istio.io/istio (Go) ≥ 0.0.0-20260112152740-3af7534ca9a9, < 0.0.0-20261106211527-30de921835cb (fixed in 0.0.0-20261106211527-30de921835cb); istio >= 1.31.0, < 1.31.4, >= 1.30.0, < 1.30.8.
How do I fix CVE-2026-145364?
Update to a fixed release: istio.io/istio (Go) 0.0.0-20261106211527-30de921835cb.
Timeline & sources
References
Related vulnerabilities & news
- GHSA-vwc3-94w5-r373 / CVE-2026-145372 — istiod crash-loop (DoS) via the gateway-name pod label when Gateway API is disabled
- GHSA-7vw6-2xxx-fch6 / CVE-2026-145370 — Istio: Control-plane DoS via unbounded JWKS fetch in `RequestAuthentication`
- Istio AuthorizationPolicy Bypass in HTTP/2 Due to Case Sensitivity Handling
- NATS Server CVE-2026-58250: unauthenticated leafnode handshake crash via repeated INFO messages with compression enabled
- GHSA-vx8c-f5hh-c8pf / CVE-2026-137182 — Tinyauth: Nginx authentication bypass via spoofed X-Original-URL header