{"id":"CVE-2026-145240","aliases":["EUVD-2026-144832","GHSA-cxwg-46mx-q8hf"],"status":"published","title":"Istio: Sidecar TPROXY mode: mTLS/AuthorizationPolicy bypass via stale conntrack entry","description":"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 ISTIO_INBOUND 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 nf_conntrack_tcp_timeout_close makes the new SYN match the stale entry and jump to ISTIO_DIVERT, 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.","severity":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-288","CWE-290","CWE-863"],"published":"2026-12-04T21:07:15Z","modified":"2026-12-04T23:00:41Z","fixes":[{"ecosystem":"Go","package":"istio.io/istio","fixed_in":["0.0.0-20261107053927-dd6f272a9f0d"],"sources":["ghsa"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"istio.io/istio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0-20260112152740-3af7534ca9a9"},{"fixed":"0.0.0-20261107053927-dd6f272a9f0d"}]}]}],"products":[{"vendor":"istio","product":"istio"}],"references":[{"url":"https://github.com/istio/istio/security/advisories/GHSA-cxwg-46mx-q8hf","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/istio/istio/commit/2c421b93f73e4c4dad2257ef012b0eb8096ec3cd","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/istio/istio/commit/84087332129a734b612f6ef5ec916eeeb02c6715","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/istio/istio/commit/dd6f272a9f0d5cbfe6edd36365def9d0f2bba5ed","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/istio/istio/commit/e0882256f1841ebe6567c15cc74504e41384605b","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/istio/istio/releases/tag/1.30.8","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/istio/istio/releases/tag/1.31.4","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/istio/istio/releases/tag/1.32.0","tags":["x_refsource_MISC","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145240","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-cxwg-46mx-q8hf"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145240.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-145240","title":"Istio: Sidecar TPROXY mode: mTLS/AuthorizationPolicy bypass via stale conntrack entry","description":"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 ISTIO_INBOUND 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 nf_conntrack_tcp_timeout_close makes the new SYN match the stale entry and jump to ISTIO_DIVERT, 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.","status":"published","published":"2026-12-04T21:07:15.173Z","modified":"2026-12-04T21:07:15.173Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-288","CWE-290","CWE-863"],"updated_at":"2026-12-04T21:10:10.68876Z"}],"euvd":[{"id":"EUVD-2026-144832","description":"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 ISTIO_INBOUND 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 nf_conntrack_tcp_timeout_close makes the new SYN match the stale entry and jump to ISTIO_DIVERT, 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.","status":"published","published":"2026-12-04T21:07:15Z","modified":"2026-12-04T21:07:15Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-12-04T22:42:52.420618Z"}],"ghsa":[{"id":"GHSA-cxwg-46mx-q8hf","title":"Istio: Sidecar TPROXY mode: mTLS/AuthorizationPolicy bypass via stale conntrack entry","description":"### Summary\n\nIstio TPROXY mode: mTLS/AuthorizationPolicy bypass via conntrack ESTABLISHED fast path on ephemeral port reuse\n\n### Details\n\nIn 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.\n\nFixes are available in 1.31.4 and 1.30.8.\n\n### Workarounds\n\nUse 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.\n\n### Proof of Concept\n\n**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).\n\n**Steps:**\n1. 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 (`nf_conntrack_tcp_timeout_close`):\n   ```bash\n   conntrack -L | grep \u003cclient_ip\u003e:\u003cport\u003e\n   ```\n2. 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.\n3. The new SYN matches the stale `ESTABLISHED` entry. It hits the `ISTIO_DIVERT` rule and goes straight to the application, skipping Envoy on port 15006.\n4. 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.\n\n**Expected:** every new SYN is redirected to Envoy (port 15006), so policy is always enforced.\n**Observed:** a SYN matching a stale conntrack entry bypasses Envoy.\n\n### Impact\n\nIn TPROXY mode, a new connection reusing the 4-tuple of a recently closed connection bypasses Envoy. This defeats:\n- mTLS enforcement, even with mesh-wide `PeerAuthentication: STRICT`\n- AuthorizationPolicy evaluation, so requests that should be denied reach the workload\n\nClients with small fixed connection pools or reconnect storms can hit this during normal churn. Deployments using the default REDIRECT mode are not affected.","status":"published","published":"2026-12-04T22:10:42Z","modified":"2026-12-04T22:10:43Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-288","CWE-290","CWE-863"],"updated_at":"2026-12-04T22:29:34.61237Z"}],"nvd":[{"id":"CVE-2026-145240","description":"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 ISTIO_INBOUND 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 nf_conntrack_tcp_timeout_close makes the new SYN match the stale entry and jump to ISTIO_DIVERT, 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.","status":"published","published":"2026-12-04T21:17:57.93Z","modified":"2026-12-04T21:17:57.93Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-288","CWE-290","CWE-863"],"updated_at":"2026-12-04T21:18:39.886879Z"}],"osv":[{"id":"CVE-2026-145240","title":"Istio: Sidecar TPROXY mode: mTLS/AuthorizationPolicy bypass via stale conntrack entry","description":"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 ISTIO_INBOUND 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 nf_conntrack_tcp_timeout_close makes the new SYN match the stale entry and jump to ISTIO_DIVERT, 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.","status":"published","published":"2026-12-04T21:07:15.173Z","modified":"2026-12-04T23:00:41.349180924Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-288","CWE-290","CWE-863"],"updated_at":"2026-12-04T23:33:23.04011Z"}]}}
