/

CVE-2026-114638

Severity:

HIGH RISK

(8.7)

Improper Authentication (CWE-287) in Traefik K8s Provider

CVE-2026-114638

Analyzed

Vulnerability type

Category:

Improper Authentication

CWE:

CWE-287

Impact:

Client-Certificate Authentication Bypass

Severity:

HIGH RISK

(8.7)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Traefik's Kubernetes Ingress NGINX provider may incorrectly merge client certificate authorities when authentication secret names collide after dot-to-dash normalization. An attacker holding a certificate trusted by another host's CA may access a protected host, while legitimate clients for that host may be denied.

Traefik's Kubernetes Ingress NGINX provider may incorrectly merge client certificate authorities when authentication secret names collide after dot-to-dash normalization. An attacker holding a certificate trusted by another host's CA may access a protected host, while legitimate clients for that host may be denied.

Affected context

The issue occurs in Traefik deployments using the Kubernetes Ingress NGINX provider with client certificate authentication. Risk is present when distinct authentication secret names become equivalent after dot-to-dash normalization, causing client CAs associated with different hosts to be combined or selected incorrectly.

The issue occurs in Traefik deployments using the Kubernetes Ingress NGINX provider with client certificate authentication. Risk is present when distinct authentication secret names become equivalent after dot-to-dash normalization, causing client CAs associated with different hosts to be combined or selected incorrectly.

Exploit preconditions

  • Attack surface: A host protected by Traefik client certificate authentication
  • Required access: A client certificate issued by a CA trusted for another affected host, plus network access to the protected endpoint
  • Trigger point: Provider configuration processing and client-CA selection for colliding Kubernetes secret names
  • Why exploitation is possible: Name normalization can cause trust material for different hosts to be merged, allowing an unintended CA to authenticate to the target host
  • Attack surface: A host protected by Traefik client certificate authentication
  • Required access: A client certificate issued by a CA trusted for another affected host, plus network access to the protected endpoint
  • Trigger point: Provider configuration processing and client-CA selection for colliding Kubernetes secret names
  • Why exploitation is possible: Name normalization can cause trust material for different hosts to be merged, allowing an unintended CA to authenticate to the target host

Why this happens

The vulnerability results from ambiguous identifier normalization in authentication configuration. When secret names containing dots are converted to dash-separated names, distinct references can collide, and the provider may merge their client CAs instead of preserving host-specific trust boundaries. This maps to CWE-287: Improper Authentication, because the resulting trust decision may accept credentials that are not authorized for the requested host.

The vulnerability results from ambiguous identifier normalization in authentication configuration. When secret names containing dots are converted to dash-separated names, distinct references can collide, and the provider may merge their client CAs instead of preserving host-specific trust boundaries. This maps to CWE-287: Improper Authentication, because the resulting trust decision may accept credentials that are not authorized for the requested host.

Potential impact

  • An attacker could gain unauthorized access to a host protected by client certificate authentication.
  • Cross-host trust contamination could weaken tenant or application isolation.
  • Legitimate clients may be rejected or experience authentication failures.
  • Security monitoring and access-control assumptions could become unreliable.
  • An attacker could gain unauthorized access to a host protected by client certificate authentication.
  • Cross-host trust contamination could weaken tenant or application isolation.
  • Legitimate clients may be rejected or experience authentication failures.
  • Security monitoring and access-control assumptions could become unreliable.

General mitigation guidance

Mitigation generally focuses on preserving unambiguous mappings between hosts, secrets, and trusted certificate authorities.

Defensive patterns include:

  • Avoiding secret naming schemes that can become equivalent after normalization.
  • Ensuring each protected host has an explicitly isolated client CA configuration.
  • Validating normalized names for uniqueness before authentication material is assembled.
  • Applying secure-by-default fail-closed behavior when configuration references collide.
  • Limiting certificate issuance and trust to the smallest required host or service scope.
  • Reviewing existing trust relationships and removing unnecessary cross-host CA acceptance.

Mitigation generally focuses on preserving unambiguous mappings between hosts, secrets, and trusted certificate authorities.

Defensive patterns include:

  • Avoiding secret naming schemes that can become equivalent after normalization.
  • Ensuring each protected host has an explicitly isolated client CA configuration.
  • Validating normalized names for uniqueness before authentication material is assembled.
  • Applying secure-by-default fail-closed behavior when configuration references collide.
  • Limiting certificate issuance and trust to the smallest required host or service scope.
  • Reviewing existing trust relationships and removing unnecessary cross-host CA acceptance.

How teams detect issues like this

Detection can include:

  • Static and configuration analysis for secret names that collide after dot-to-dash normalization.
  • Code review checks for lossy identifier transformations and map-key overwrites during provider configuration.
  • Tests that verify each host accepts only its intended client CA and rejects certificates from other hosts.
  • Policy enforcement requiring unique normalized identifiers and explicit host-to-CA mappings.
  • Monitoring authentication logs for unexpected cross-host certificate acceptance or sudden legitimate-client rejection.

Automated configuration and code review tools may help identify ambiguous naming and trust-boundary violations.

Detection can include:

  • Static and configuration analysis for secret names that collide after dot-to-dash normalization.
  • Code review checks for lossy identifier transformations and map-key overwrites during provider configuration.
  • Tests that verify each host accepts only its intended client CA and rejects certificates from other hosts.
  • Policy enforcement requiring unique normalized identifiers and explicit host-to-CA mappings.
  • Monitoring authentication logs for unexpected cross-host certificate acceptance or sudden legitimate-client rejection.

Automated configuration and code review tools may help identify ambiguous naming and trust-boundary violations.

Sources

SourceLink
github.comgithub.com/traefik/traefik/security/advisories/GHSA-rv2h-qh7j-xrjw
vulncheck.comvulncheck.com/advisories/traefik-3.7.0-before-3.7.14-client-ca-mix-up-via-auth-tls-secret-name-collision

Frequently asked

questions

It may be exploitable over the network when an attacker can reach an affected protected host and possesses a certificate issued by a CA trusted for another host.

Not necessarily. The key requirements are network access to the protected endpoint and a certificate that becomes trusted because of the CA-mapping collision.

Preserve unique, deterministic mappings between hosts and client CAs, reject normalized-name collisions, and fail closed when trust configuration is ambiguous.

Use collision-resistant naming rules, validate normalized identifiers during configuration processing, maintain host-specific trust stores, and test both valid and cross-host certificate authentication paths.

It may be exploitable over the network when an attacker can reach an affected protected host and possesses a certificate issued by a CA trusted for another host.

Not necessarily. The key requirements are network access to the protected endpoint and a certificate that becomes trusted because of the CA-mapping collision.

Preserve unique, deterministic mappings between hosts and client CAs, reject normalized-name collisions, and fail closed when trust configuration is ambiguous.

Use collision-resistant naming rules, validate normalized identifiers during configuration processing, maintain host-specific trust stores, and test both valid and cross-host certificate authentication paths.

Find out what's already
exploitable in your codebase.