VYPR
Moderate severityNVD Advisory· Published Dec 9, 2025· Updated Dec 9, 2025

Traefik has Inverted TLS Verification Logic in its ingress-nginx Provider

CVE-2025-66491

Description

Traefik is an HTTP reverse proxy and load balancer. Versions 3.5.0 through 3.6.2 have inverted TLS verification logic in the nginx.ingress.kubernetes.io/proxy-ssl-verify annotation. Setting the annotation to "on" (intending to enable backend TLS certificate verification) actually disables verification, allowing man-in-the-middle attacks against HTTPS backends when operators believe they are protected. This issue is fixed in version 3.6.3.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/traefik/traefik/v3Go
>= 3.5.0, < 3.6.33.6.3

Affected products

1

Patches

1
14a1aedf5704

Fix nginx.ingress.kubernetes.io/proxy-ssl-verify annotation support

https://github.com/traefik/traefikRomainDec 3, 2025via ghsa
2 files changed · +2 2
  • pkg/provider/kubernetes/ingress-nginx/kubernetes.go+1 1 modified
    @@ -509,7 +509,7 @@ func (p *Provider) buildServersTransport(namespace, name string, cfg ingressConf
     		Name: provider.Normalize(namespace + "-" + name),
     		ServersTransport: &dynamic.ServersTransport{
     			ServerName:         ptr.Deref(cfg.ProxySSLName, ptr.Deref(cfg.ProxySSLServerName, "")),
    -			InsecureSkipVerify: strings.ToLower(ptr.Deref(cfg.ProxySSLVerify, "off")) == "on",
    +			InsecureSkipVerify: strings.ToLower(ptr.Deref(cfg.ProxySSLVerify, "off")) == "off",
     		},
     	}
     
    
  • pkg/provider/kubernetes/ingress-nginx/kubernetes_test.go+1 1 modified
    @@ -397,7 +397,7 @@ func TestLoadIngresses(t *testing.T) {
     					ServersTransports: map[string]*dynamic.ServersTransport{
     						"default-ingress-with-proxy-ssl": {
     							ServerName:         "whoami.localhost",
    -							InsecureSkipVerify: true,
    +							InsecureSkipVerify: false,
     							RootCAs:            []types.FileOrContent{"-----BEGIN CERTIFICATE-----"},
     						},
     					},
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

5

News mentions

0

No linked articles in our index yet.