Every CVESearch/Get API key

CVE-2026-145366

Istio: Workload identity impersonation via a mis-encoded SAN when using an external certificate signer

Explain with AI
ChatGPTClaudeGoogle AI
Severity
8.2High
Network attack, low privileges, no user interactionCVSS 3.1, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
Unknown
No source reports an EPSS score yet.
Listed fix
0.0.0-20261202212950-4c5fb90c6cb8 for istio.io/istio
From GitHub Advisories

Overview

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.

CVSS 3.1 vector

Exploitability

Attack vector
Network
Complexity
High
Privileges needed
Low
User interaction
None

Impact

Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N

Discussion

14 days ago: 0 people13 days ago: 0 people12 days ago: 0 people11 days ago: 0 people10 days ago: 0 people9 days ago: 0 people8 days ago: 0 people7 days ago: 0 people6 days ago: 0 people5 days ago: 0 people4 days ago: 0 people3 days ago: 0 people2 days ago: 0 people1 day ago: 0 peopleLast 24 hours: 2 people

Affected

Packages 1

Affected packages
PackageAffectedFixed
istio.io/istio
Go
0.0.0-20260112152740-3af7534ca9a9 up to 0.0.0-20261202212950-4c5fb90c6cb8
0.0.0-20261202212950-4c5fb90c6cb8

Products 1

Sources

CVE List Score usedCVSS 3.18.2

Istio: Workload identity impersonation via a mis-encoded SAN when using an external certificate signer

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.

Record
CVE-2026-145366
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Weakness
CWE-436, CWE-863
Updated
2026-12-04
EUVDEUVD-2026-144847CVSS 3.18.2

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.

Record
EUVD-2026-144847
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Updated
2026-12-04
GitHub AdvisoriesGHSA-jjv7-h974-mjchCVSS 3.18.2

Istio: Workload identity impersonation via a mis-encoded SAN when using an external certificate signer

Summary

A URI SAN is a context-specific, primitive GeneralName with tag number 6 (identifier octet 0x86). ExtractIDsFromSAN (san.go) matched on the tag number alone, ignoring the ASN.1 class and the constructed bit, and an unmapped tag fell through to a DNS identity. So an entry in another class with tag 6 (application-class 0x46), a constructed 0xa6, or a spiffe:// value carried in a dNSName/rfc822Name slot was returned as an identity. Go crypto/x509 and the TLS layer surface only the single legitimate URI, so TLS verification and the signer's own authorization check never see the extra entry.

The signer authorizes only the real identity, the issuer copies the whole SAN into the leaf, and istiod's client-certificate authenticator (CA gRPC server and XDS mTLS) then acts on the extra one. The impersonated identity can be any namespace/service account that passes the Kubernetes SubjectAccessReview for listing secrets in that namespace, not only istiod's. The built-in Istio CA and plugged-in cacerts are not affected, since istiod builds the SAN from the authenticated caller.

Fixes are available in 1.30.9, 1.31.5 and 1.32.1.

Details

A URI SAN is a context-specific, primitive GeneralName with tag number 6 (identifier octet 0x86). ExtractIDsFromSAN (san.go) matched on the tag number alone, ignoring the ASN.1 class and the constructed bit, and an unmapped tag fell through to a DNS identity. So an entry in another class with tag 6 (application-class 0x46), a constructed 0xa6, or a spiffe:// value carried in a dNSName/rfc822Name slot was returned as an identity. Go crypto/x509 and the TLS layer surface only the single legitimate URI, so TLS verification and the signer's own authorization check never see the extra entry. ztunnel's x509-parser decodes 0xa6 as a second valid URI in identities() (certificate.rs).

The signer authorizes only the real identity, the issuer copies the whole SAN into the leaf, and istiod (CA gRPC and XDS mTLS authenticator) and ztunnel (HBONE peer identity) then act on the extra one. The impersonated identity can be any namespace/service account that passes the Kubernetes SubjectAccessReview for listing secrets in that namespace, not only istiod's. The built-in Istio CA and plugged-in cacerts are not affected, since istiod builds the SAN from the authenticated caller.

Fixes are available in 1.30.9, 1.31.5 and 1.32.1 (istiod and ztunnel).

Workarounds

Use the built-in Istio CA or plugged-in cacerts, or an external signer that issues only the exact authorized URI SAN and rejects any extra or mis-encoded entry. For cert-manager istio-csr see GHSA-4j63-6mgw-6w6j.

Proof of concept

On a cluster using cert-manager istio-csr with the CA Issuer:

  1. From a pod with its istio-ca-audience token, build a CSR whose SAN holds two entries: its real spiffe://<td>/ns/<ns>/sa/<sa> as a normal URI (0x86), and spiffe://<td>/ns/istio-system/sa/istiod encoded with a mis-matched tag (0x46 or 0xa6).
  2. Submit the CSR to istio-csr. It authorizes only the real identity and issues a certificate keeping both entries. Re-encoding the second entry as a normal 0x86 URI yields Unauthenticated.
  3. Present the leaf to istiod and fetch the target secret over SDS.

Reproduced on istiod 1.31.3, istio-csr 0.19.1 and cert-manager 1.21.3.

Impact

A workload retrieves a protected TLS private key across a namespace boundary. Where the mesh signing key is reachable through SDS for an impersonated account (the documented namespaced CA Issuer layout), the attacker recovers the active CA key and can mint trusted identities mesh-wide.

Reported by Dave Aitel, OpenAI Security Research.

Record
GHSA-jjv7-h974-mjch
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Weakness
CWE-436, CWE-863
Updated
2026-12-04
NVDCVSS 3.18.2

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.

Record
CVE-2026-145366
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Weakness
CWE-436, CWE-863
Updated
2026-12-04
OSVCVSS 3.18.2

Istio: Workload identity impersonation via a mis-encoded SAN when using an external certificate signer

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.

Record
CVE-2026-145366
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Weakness
CWE-436, CWE-863
Updated
2026-12-04

History

Recorded by Every CVE

Changes recorded by Every CVE
DayChangedSources
ReferencesOSV
Affected packages, other IDs, key facts, referencesGitHub Advisories
Other IDs, published dateEUVD, NVD
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open