Introduction
Kubernetes clusters that rely on Traefik to enforce mutual TLS at the edge could forward a forged client identity to backend applications, complete with Ssl-Client-Verify: SUCCESS and a subject and issuer chosen by the client. Backends behind the proxy commonly treat these headers as the authoritative result of certificate verification, so a shared-hostname configuration detail became an authentication bypass reachable by unauthenticated remote clients.
Traefik, maintained by Traefik Labs (founded in 2016), is a cloud-native edge router whose documented security boundary lies between untrusted network clients and the services receiving routed traffic. Traefik Labs reports over 3.4B Docker Hub downloads and 62,000+ GitHub stars, and in March 2026 announced that IBM Cloud, Nutanix, OVHcloud, SUSE, TIBCO and other platform vendors had selected Traefik Proxy for ingress or Gateway API use. These are vendor-reported adoption figures, not counts of vulnerable deployments. The issue lives in the Kubernetes Ingress NGINX provider, which interprets nginx.ingress.kubernetes.io annotations such as auth-tls-secret.
The CVE record scores CVE-2026-137480 at 8.7 High (CVSS 3.1), and the vendor scores it 7.0 High (CVSS 4.0). The CVE record and VulnCheck classify it as CWE-290 (Authentication Bypass by Spoofing). The vendor also lists CWE-295 (Improper Certificate Validation). As of November 26, 2026, the sources we reviewed do not establish active exploitation or a named threat actor, and VulDB reports no KEV listing.
Technical information
Root cause: host-scoped handshake, Ingress-scoped headers
The affected component is the Kubernetes Ingress NGINX provider in the Go module github.com/traefik/traefik/v3. Since version 3.7.15, client certificate authentication configured through nginx.ingress.kubernetes.io/auth-tls-secret applies to the whole host. When several Ingresses share a hostname, the TLS handshake uses the settings of the first Ingress on that host that declares auth-tls-secret.
The middleware that writes the identity headers (Ssl-Client-Verify, Ssl-Client-Subject-Dn and Ssl-Client-Issuer-Dn) was still built from each individual Ingress's own annotations. The handshake and the headers could therefore disagree about what was actually verified. The backend sees only the headers, so whatever the header middleware claims becomes the identity assertion the application trusts.
Certificate cryptography is not broken here. The proxy misreports the outcome of certificate verification to the receiving application.
Failure mode 1: an unverified certificate reported as SUCCESS
The advisory describes an Ingress configured with auth-tls-verify-client: on sharing a host with another Ingress that owns client auth in optional_no_ca mode. In optional_no_ca mode, the handshake runs with Go's RequestClientCert, under which the TLS layer requests a certificate but does not verify it.
The Ingress annotated verify-client: on had its header middleware built from its own annotations, as though the handshake had verified the certificate. It therefore forwarded Ssl-Client-Verify: SUCCESS, together with a subject and issuer taken from a certificate the client created itself, even though nothing had verified that certificate.
Failure mode 2: client-supplied headers pass straight through
In the vulnerable implementation, the header middleware was only attached when an Ingress had both its own auth-tls-secret and auth-tls-pass-certificate-to-upstream. Any other Ingress on the same client-auth host had no middleware handling these headers, so Ssl-Client-* values sent by the client in the HTTP request reached the backend unchanged. This path does not depend on certificate verification at all.
A latent verification weakness: nil Roots
The old middleware verified certificates with an inline call of the form cert.Verify(x509.VerifyOptions{Roots: p.caCertPool}). In Go, a nil Roots pool falls back to the system trust store. Without an explicit check for a missing CA pool, any publicly trusted certificate could have earned SUCCESS. The old call also did not require the client authentication extended key usage and did not feed client-supplied intermediates into verification.
Attack flow
Based on the advisory and the patch description, exploitation follows this sequence:
- Precondition. A hostname is shared by multiple Ingresses under the Ingress NGINX provider, at least one of which declares
auth-tls-secret, and backends trust theSsl-Client-*headers as an identity assertion. - Handshake. An unauthenticated remote client connects. The handshake follows the first declaring Ingress. If that Ingress uses
optional_no_ca, the client can present a certificate of its own making, with any subject and issuer, and the handshake does not verify it. - Path A, false verification. The client sends a request routed to an Ingress annotated
auth-tls-verify-client: on. That Ingress's middleware reportsSsl-Client-Verify: SUCCESSand the client-chosen subject and issuer. - Path B, header injection. Alternatively, the client sends a request routed to an Ingress on the same host that lacks its own
auth-tls-secretorauth-tls-pass-certificate-to-upstream, includingSsl-Client-*headers directly in the request. No middleware overwrites them. - Impact. The backend accepts the forged identity, with the confidentiality and integrity impact recorded in both CVSS vectors.
The advisory provides this configuration-level explanation but no executable proof of concept, request sequence, or observed victim environment.
Scoring
| Assessment | Score | Vector |
|---|---|---|
| CVE record, CVSS 3.1 | 8.7 High | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N |
| Vendor and CVE record, CVSS 4.0 | 7.0 High | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N |
Both vectors describe network access with no privileges or user interaction. CVSS 4.0 marks attack requirements as present (the shared-host configuration) and places confidentiality and integrity impact on subsequent systems, the backends. Neither assigns availability impact. The sources do not establish code execution or Kubernetes cluster takeover.
Patch information
Traefik fixed this in v3.7.18 (published November 10, 2026) and v3.8.0 rc.2. The maintainer advisory GHSA-ccgh-9g52-6vwg lists exactly those two releases as patched, and VulnCheck and NVD map CVE-2026-137480 to the same advisory. The vendor's security announcement strongly recommends upgrading as soon as possible.
The code change is PR #14160, titled "Fix Ssl-Client-* headers when Ingresses share a host". It was merged into the v3.7 branch on November 6, 2026 as commit d068b8adcc4324b33f80f2632f66d1864ca69d93, touches 16 files (2269 additions, 236 deletions), and is listed under the ingress nginx bug fixes in the v3.7.18 release notes. The fix derives the headers from the same host-level state that drives the handshake.
1. Headers are built from the host, not from each Ingress
The old per-location call p.buildAuthTLSPassCert(loc) is removed from buildMiddlewares. The function now takes the server (host) and runs only after every Ingress has been read:
// The client auth of a server is only known once every Ingress is read, as any of them may be the first declaring it. for _, srv := range mc.Servers { for _, loc := range srv.Locations { buildAuthTLSPassCert(srv, loc) } }
The client auth type and CA come from the host's TLS option rather than the Ingress annotations:
func buildAuthTLSPassCert(srv *server, loc *location) { if srv.clientAuthIngress == "" { return } var caFiles []types.FileOrContent if srv.TLSOption.ClientAuth.ClientAuthType == tls.RequestClientCert { caFiles = srv.TLSOption.ClientAuth.CAFiles } loc.AuthTLSPassCert = &dynamic.AuthTLSPassCertificateToUpstream{ ClientAuthType: srv.TLSOption.ClientAuth.ClientAuthType, CAFiles: caFiles, PassCertificate: srv.clientAuthPassCertificate, } }
This closes failure mode 1. Every location on the host is told the real handshake mode (RequestClientCert) and receives the host CA, so its middleware must verify the certificate itself.
2. Every location on a client-auth host strips spoofed headers
The only condition for attaching the middleware is now that the host has client auth (srv.clientAuthIngress != ""). Every location gets the middleware, which overwrites or removes client-supplied values. The old "pass the certificate" behaviour was split into a new PassCertificate flag that only controls Ssl-Client-Cert:
req.Header.Set(sslClientVerify, clientVerify) req.Header.Set(sslClientSubjectDN, cert.Subject.String()) req.Header.Set(sslClientIssuerDN, cert.Issuer.String()) if p.passCertificate { req.Header.Set(sslClientCert, extractCertificatePEM(ctx, cert)) }
This closes failure mode 2. Updated test expectations show routers that previously carried only a retry middleware now also carry a pass-certificate-to-upstream middleware.
3. Stricter verification in optional_no_ca mode
The inline cert.Verify call is replaced by a verify() helper:
func (p *authTLSPassCertificateToUpstream) verify(certs []*x509.Certificate) string { // A nil Roots would verify against the system certificate pool. if p.caCertPool == nil { return "FAILED:no CA certificate" } opts := x509.VerifyOptions{ Roots: p.caCertPool, Intermediates: x509.NewCertPool(), KeyUsages: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth}, } for _, cert := range certs[1:] { opts.Intermediates.AddCert(cert) } if _, err := certs[0].Verify(opts); err != nil { return "FAILED:" + err.Error() } return "SUCCESS" }
Three things change here:
- The
nilcheck prevents fallback to the system trust store. - Requiring
ExtKeyUsageClientAuthrejects server-only certificates. - Additional certificates sent by the client are used as intermediates, matching what
crypto/tlsdoes during a normal handshake.
New unit tests cover an untrusted certificate, a server-auth-only certificate and a missing CA (all expected FAILED), plus a chain through an intermediate CA (expected SUCCESS).
4. Host ownership logic matches ingress nginx
Per-Ingress TLS option logic moved into a new buildServersClientAuth(), which also records the owning Ingress's auth-tls-pass-certificate-to-upstream value in server.clientAuthPassCertificate. Three related edge cases were fixed:
- Canary Ingresses: their
auth-tls-*annotations are now read in order with the others (orderedIngresses), so a canary can configure client auth for its host, as in upstreamingress-nginx. - Secret without a CA (
errNoCACertificate): logged as a warning, leaving client auth to the next Ingress on the host instead of a hard error. - Unusable
auth-tls-secret(missing, or blocked across namespaces): the old code skipped only that Ingress, leaving other Ingresses on the host reachable. The server now records anAuthTLSError, and the translator replaces the whole host withauth-tls-error-*routers at prioritymath.MaxInt32, pointing to a newforbidden-servicethat always returns 403 on both HTTP and HTTPS. This mirrors upstream behaviour, which returns 403 for the whole server block.
The regression fixture ingress-with-auth-tls-pass-certificate-to-upstream-shared-host.yml reproduces the reported setup: an owner-ingress (optional_no_ca), an inheriting-ingress with no secret of its own, and a forwarded-ingress using a different CA with verify-client: on. After the fix, all three get a header middleware with ClientAuthType: tls.RequestClientCert and the owner's CA, so none can report a verification the handshake never performed.
Behaviour changes after upgrading
Ssl-Client-Certstill follows each Ingress's ownauth-tls-pass-certificate-to-upstreamannotation, and this now also applies to Ingresses that inherit the host's client auth. Upstream uses the first Ingress's value instead. Traefik chose not to match it so Ingresses receiving the header today keep receiving it.- In
optional_no_camode, certificates chained through intermediates and certificates restricted to client authentication now verify asSUCCESS, where they were previously reported asFAILED.
Neither the vendor advisory nor the VulnCheck advisory documents a workaround, so we would not treat an annotation change as equivalent to the upgrade. CERT-FR also references the vendor advisory in a notice covering multiple Traefik vulnerabilities.
Affected systems and versions
| Installed version or branch | Status for CVE-2026-137480 | Fix |
|---|---|---|
| 3.7.15, 3.7.16, 3.7.17 | Affected | 3.7.18 |
3.8.0-rc.1 | Affected | 3.8.0-rc.2 |
| Releases before 3.7.15 | Not affected by this specific issue (defect introduced in 3.7.15) | Not a downgrade recommendation |
| Traefik v2 | Not affected; does not include the Kubernetes Ingress NGINX provider | Not applicable |
The vulnerable configuration requires:
- The Kubernetes Ingress NGINX provider in use.
- A hostname shared by multiple Ingresses, with at least one declaring
nginx.ingress.kubernetes.io/auth-tls-secret. - Backends that trust
Ssl-Client-*headers from the proxy as an identity assertion.
The vendor's security update also shipped 2.11.62, but explicitly states that Traefik v2 is not affected by this vulnerability. Do not treat 2.11.62 as a fix for this CVE.
Vendor security history
This is the third recent advisory in the same provider area:
| Advisory | Boundary failure | Attacker position | Affected | Fix |
|---|---|---|---|---|
| GHSA-8rxv-jg7p-wvg3 (July 16, 2026) | Path rewriting bypasses route-level authentication | Unauthenticated network attacker | 3.7.0 through 3.7.7 | 3.7.8 |
| GHSA-28hp-c82p-8vqj (October 16, 2026) | TLS option cache hit skips cross-namespace authorization for a CA secret | User allowed to create Ingresses | 3.7.11 through 3.7.14 | 3.7.15 |
| GHSA-ccgh-9g52-6vwg (November 12, 2026) | Host TLS settings and per-Ingress identity headers disagree | Unauthenticated remote client | 3.7.15 through 3.7.17; 3.8.0-rc.1 | 3.7.18; 3.8.0-rc.2 |
The October cache issue was fixed in 3.7.15, the same release in which this defect was introduced. That sequence does not prove the earlier fix caused this vulnerability, but it shows that a release fixing one advisory is not necessarily sufficient for another. The three findings involve different mechanisms and attacker prerequisites. What they share is a security decision made at one stage being invalidated by a later stage that uses a different scope. Traefik Labs states that it reproduces findings, keeps accepted reports private until a fix is available, and publishes advisories with affected ranges, scoring and available mitigations.
References
- NVD entry for CVE-2026-137480
- Official CVE record for CVE-2026-137480 (CVE Services API)
- Traefik advisory GHSA-ccgh-9g52-6vwg
- GHSA-ccgh-9g52-6vwg via GitHub API
- VulnCheck advisory
- Pull request 14160
- Pull request 14160 via GitHub API
- Fix commit d068b8a
- Release v3.7.18 via GitHub API
- Release v3.7.18 on GitHub
- Release v3.8.0 rc.2 on GitHub
- Traefik security update announcement for 2.11.62, 3.7.18 and 3.8.0 rc.2
- VulDB entry for CVE-2026-137480
- CERT-FR advisory CERTFR-2026-AVI-1517
- Traefik Kubernetes Ingress NGINX routing configuration
- Related advisory GHSA-28hp-c82p-8vqj
- Related advisory GHSA-8rxv-jg7p-wvg3
- Security at Traefik Labs
- Traefik security documentation
- Traefik security decisions
- About Traefik Labs
- Traefik Labs press release on Kubernetes networking adoption
- CISA Known Exploited Vulnerabilities Catalog



