Istio: Sidecar TPROXY mode: mTLS/AuthorizationPolicy bypass via stale conntrack entryGHSA-cxwg-46mx-q8hf
HIGHFix: istio/istio@2c421b9GHSA-cxwg-46mx-q8hf is a high-severity (CVSS 7.4) CWE-288 vulnerability in istio.io/istio. A fix is available for istio.io/istio — see the affected versions and patch details below.
Real-World Exposure
istio.io/istioReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
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 ISTIO_INBOUND contains the rule -p tcp -m conntrack --ctstate RELATED,ESTABLISHED -j ISTIO_DIVERT , 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 nf_conntrack_tcp_timeout_close (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 (ISTIO_INTERCEPTION_MODE=TPROXY, iptables or nftables), mesh-wide PeerAuthentication STRICT, and an application listening behind the sidecar (e.g. Redis).
Steps:
- From a client, connect to the application port and send non-TLS data. Envoy resets the connection (RST), which leaves a conntrack entry in
CLOSEstate. By default it persists for up to 10s (nf_conntrack_tcp_timeout_close):conntrack -L | grep <client_ip>:<port> - 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 (
SO_REUSEADDR/SO_REUSEPORT) forces this deterministically. - The new SYN matches the stale
ESTABLISHEDentry. It hits theISTIO_DIVERTrule and goes straight to the application, skipping Envoy on port 15006. - Send plaintext over the new connection. The application accepts it,
tcpdumpshows 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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | istio.io/istio | ≥ 0.0.0-20260112152740-3af7534ca9a9&&< 0.0.0-20261107053927-dd6f272a9f0d | 0.0.0-20261107053927-dd6f272a9f0dgo get istio.io/istio@v0.0.0-20261107053927-dd6f272a9f0d |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for istio.io/istio, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update istio.io/istio to 0.0.0-20261107053927-dd6f272a9f0d or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-cxwg-46mx-q8hf is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is GHSA-cxwg-46mx-q8hf in your dependencies?
Find it across Go, including transitive dependencies.