CVE-2026-145240: Istio: Sidecar TPROXY mode: mTLS/AuthorizationPolicy bypass via stale conntrack entry
Summary
Istio TPROXY mode: mTLS/AuthorizationPolicy bypass via conntrack ESTABLISHED fast path on ephemeral port reuse
Details
In Istio sidecars using TPROXY interception mode, the inbound iptables chain ISTIOINBOUND contains the rule -p tcp -m conntrack --ctstate RELATED,ESTABLISHED -j ISTIODIVERT , which marks and accepts the packet without redirecting it to Envoy on port 15006. Netfilter keeps the ESTABLISHED state for the whole lifetime of a conntrack entry. That includes closed connections, which persist for nfconntracktcptimeoutclose (default 10s). If a client reuses the same source IP and port for a new connection to the same destination within that window, the new SYN matches the stale entry and bypasses Envoy. The traffic reaches the application's listening socket directly as plaintext, without PeerAuthentication STRICT mTLS enforcement or AuthorizationPolicy evaluation. Clients with small fixed connection pools or reconnect storms can trigger this under normal churn.
Fixes are available in 1.31.4 and 1.30.8.
Workarounds
Use the default REDIRECT inbound interception mode instead of TPROXY (set the sidecar.istio.io/interceptionMode: REDIRECT pod annotation, or the mesh-wide interceptionMode default). Note that REDIRECT does not preserve the original client source IP.
Proof of Concept
Prerequisites: a sidecar using TPROXY inbound interception (ISTIOINTERCEPTIONMODE=TPROXY, iptables or nftables), mesh-wide PeerAuthentication STRICT, and an application listening behind the sidecar (e.g. Redis).
Steps: 1. From a client, connect to the application port and send non-TLS data. Envoy resets the connection (RST), which leaves a conntrack entry in CLOSE state. By default it persists for up to 10s (nfconntracktcptimeoutclose): bash conntrack -L | grep <clientip>:<port> 2. Before the entry expires, open a new connection from the same source IP and port to the same destination. Binding the client socket to the same local port (SOREUSEADDR/SOREUSEPORT) forces this deterministically. 3. The new SYN matches the stale ESTABLISHED entry. It hits the ISTIODIVERT rule and goes straight to the application, skipping Envoy on port 15006. 4. Send plaintext over the new connection. The application accepts it, tcpdump shows unencrypted bytes, and Envoy's access log has no entry. Neither mTLS nor AuthorizationPolicy was evaluated.
Expected: every new SYN is redirected to Envoy (port 15006), so policy is always enforced. Observed: a SYN matching a stale conntrack entry bypasses Envoy.
Impact
In TPROXY mode, a new connection reusing the 4-tuple of a recently closed connection bypasses Envoy. This defeats: - mTLS enforcement, even with mesh-wide PeerAuthentication: STRICT - AuthorizationPolicy evaluation, so requests that should be denied reach the workload
Clients with small fixed connection pools or reconnect storms can hit this during normal churn. Deployments using the default REDIRECT mode are not affected.
Other sources
Istio is an open platform to connect, manage, and secure microservices. From 1.30.0 until 1.30.8 and 1.31.4, sidecar TPROXY mode placed the RELATED,ESTABLISHED conntrack fast path in ISTIOINBOUND before redirection to Envoy port 15006. Reusing the same source IP and port for a new connection to the same destination, and therefore the same full 4-tuple, while a closed connection remains under nfconntracktcptimeoutclose makes the new SYN match the stale entry and jump to ISTIODIVERT, delivering plaintext directly to the application without STRICT mTLS or AuthorizationPolicy enforcement. This issue is fixed in versions 1.30.8 and 1.31.4.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
go/istio.io/istioto a version that resolves this vulnerability.Fixed in 0.0.0-20261107053927-dd6f272a9f0d - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.30.8 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.31.4 - Configuration
Use REDIRECT instead of TPROXY by setting the pod annotation sidecar.istio.io/interceptionMode to REDIRECT or setting the mesh-wide interceptionMode default to REDIRECT.
Istio inbound interception interceptionMode = REDIRECT
Event History
Frequently Asked Questions
Which deployments are affected?
Affected deployments use Istio sidecar TPROXY mode in versions from 1.30.0 through 1.30.8 and 1.31.4. The issue concerns inbound traffic handling where the conntrack fast path can bypass redirection to Envoy.
What must an attacker do to trigger the bypass?
The attacker must reuse the same source IP address and source port for a new connection to the same destination, producing the same full 4-tuple as a recently closed connection. The stale conntrack entry must still exist under nf_conntrack_tcp_timeout_close when the new SYN arrives.
What security controls can be bypassed?
A successful exploit can deliver plaintext traffic directly to the application, bypassing STRICT mTLS and AuthorizationPolicy enforcement that would normally occur through Envoy.
How can the issue be remediated?
Upgrade to an Istio version containing the fix: 1.30.8 or 1.31.4.