CVE-2026-145365: Istio: Ztunnel panic in TraceParent::try_from on malformed traceparent header drops HBONE connections
Istio Ztunnel provides an implementation of the ztunnel component of ambient mesh. From 1.30.0 until 1.30.8 and 1.31.4, TraceParent::tryfrom in src/proxy.rs checks only that a traceparent header value is 55 bytes long. It then indexes the first four fields returned by split('-') without verifying that four fields are present. A 55-byte value without four dash-separated fields, such as 55 zero characters, causes an index-out-of-bounds panic while the inbound HBONE request is being handled, before the per-stream task is spawned. The panic ends the connection task and drops every stream multiplexed on that connection, including traffic from other workloads that share it. Other 55-byte values with the wrong field layout, such as five fields or a three-character version, are accepted instead of being rejected. Exploitation requires a valid mesh identity, or a gateway or waypoint that forwards an untrusted client's traceparent header unchanged. This issue is fixed in versions 1.30.8 and 1.31.4
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- 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
Event History
Frequently Asked Questions
Who can trigger the connection drop?
An attacker needs a valid mesh identity to send the malformed header directly. It can also be triggered through a gateway or waypoint that forwards an untrusted client's traceparent header unchanged.
What traffic is affected when exploitation succeeds?
The panic terminates the inbound HBONE connection task. Every stream multiplexed on that connection is dropped, including traffic belonging to other workloads sharing the connection.
Which versions are fixed?
The issue is fixed in Istio versions 1.30.8 and 1.31.4. Affected releases are from 1.30.0 up to, but not including, those fixed versions.
What header value causes the panic?
A traceparent value that is exactly 55 bytes long but does not contain four dash-separated fields can cause the panic. One example is a value consisting of 55 zero characters.