CVE-2026-145364
### 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: P
Properties
- Summary
- Istio: Ambient mode mTLS bypass via PeerAuthentication bug
- Severity
- high
- Nvd fetched at
- 2026-12-06T11:16:09.893609+00:00
- Epss score
- 0.00846
- Cvss score
- 8.2
- Cvss severity
- HIGH
- Retrieved at
- 2026-12-06T11:17:52+00:00
- Ghsa published
- 2026-12-04T22:07:09Z
- Source url
- https://github.com/advisories/GHSA-rr2c-p22p-6r9r
- Ghsa updated
- 2026-12-04T22:07:10Z
- Ghsa id
- GHSA-rr2c-p22p-6r9r
- Last source
- FIRST EPSS
- Score
- 8.2
- Cvss version
- 3.1
- Cve id
- CVE-2026-145364
- Cvss vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- First seen by Signal
- 2026-12-04T23:04:46+00:00
- Name
- CVE-2026-145364
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Related Entities (4)
HAS_WEAKNESS (2)
AFFECTS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph