CVE-2026-145366 in Istio
Summary
by MITRE • 12/04/2026
Istio is an open platform to connect, manage, and secure microservices. From 1.30.0 until 1.30.9, 1.31.5, and 1.32.1, ExtractIDsFromSAN in security/pkg/pki/util/san.go matched GeneralName tag number 6 without checking the ASN.1 class or constructed bit and treated unmapped tags as DNS identities. With an external signer that authorizes the legitimate URI but copies the entire SAN into the leaf certificate, an application-class 0x46, constructed 0xa6, or spiffe:// value in a dNSName or rfc822Name slot can add an identity that the signer and TLS layer do not see but the istiod client-certificate authenticator consumes. Ztunnel specifically decodes constructed 0xa6 as a second URI identity. The forged identity can cross namespaces and expose protected TLS private keys, including a reachable mesh signing key; the built-in Istio CA and plugged-in cacerts are not affected. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 12/04/2026
The vulnerability identified within Istio affects specific releases of the service mesh platform, including versions from 1.30.0 through 1.30.9, as well as 1.31.5 and 1.32.1. This flaw resides in the security package responsible for handling Public Key Infrastructure operations, specifically within the function ExtractIDsFromSAN located at security/pkg/pki/util/san.go. The core technical deficiency involves an improper validation of Subject Alternative Name fields during certificate processing. When parsing these extensions, the code matches GeneralName tag number 6 without verifying the ASN.1 class or constructed bit. This oversight allows unmapped tags to be incorrectly interpreted as DNS identities, creating a discrepancy between how different components within the Istio ecosystem process certificate data.
The operational impact of this flaw is significant because it enables identity spoofing through crafted certificates generated by an external signer. If such a signer authorizes a legitimate Uniform Resource Identifier but copies the entire Subject Alternative Name structure into the leaf certificate, specific malformed entries can be injected. For instance, including an application-class tag with value 0x46 and constructed bit set to 0xa6, or embedding a SPIFFE URI scheme within a dNSName or rfc822Name slot, allows an attacker to add an identity that remains invisible to the signer and standard TLS layer verification. However, this forged identity is consumed by the istiod client-certificate authenticator, leading to unauthorized authentication events where the system grants access based on credentials it believes are valid but which were not properly vetted during the signing process.
A critical aspect of this vulnerability involves Ztunnel, a component that specifically decodes the constructed tag 0xa6 as a second URI identity. This behavior facilitates cross-namespace traversal, allowing an attacker to bypass namespace isolation controls inherent in service mesh architectures. By exploiting this misinterpretation, malicious actors can expose protected TLS private keys, including those belonging to reachable mesh signing keys. While the built-in Istio Certificate Authority and plugged-in cacerts are not affected by this specific parsing logic error, any deployment relying on external signers that do not strictly validate ASN.1 structures remains at risk of credential theft and unauthorized lateral movement within the cluster.
From a classification perspective, this issue aligns with CWE-20 Improper Input Validation, as the system fails to adequately sanitize or verify structured data inputs from certificates. It also relates to ATT&CK techniques involving Initial Access via Valid Accounts if an attacker uses stolen credentials derived from exposed keys, and potentially Defense Evasion through Masquerading by presenting forged identities that appear legitimate to specific mesh components but not others. The vulnerability highlights the importance of strict adherence to RFC standards for X.509 certificate parsing in security-critical infrastructure software.
To mitigate this risk, organizations must upgrade Istio to patched versions 1.30.9, 1.31.5, or 1.32.1 immediately if they are running affected releases. For environments utilizing external signers, it is crucial to ensure that the signing process strictly validates ASN.1 structures and rejects malformed tags before issuing certificates. Implementing additional validation layers at the ingress points can provide defense in depth against such parsing errors. Regular audits of certificate issuance workflows and monitoring for anomalous authentication patterns originating from unexpected namespaces or identities are recommended practices to detect potential exploitation attempts while patching is underway.