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

Medium 5.9 Published Updated

Traefik's ingress-nginx provider incorrectly disables TLS verification when enabled, allowing man-in-the-middle attacks against HTTPS backends.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-66491?

CVE-2025-66491 is a medium-severity vulnerability in Traefik Traefik, published on 9 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-295

Which versions are affected by CVE-2025-66491?

5 open source packages ship an affected version, including github.com/traefik/traefik/v3, github.com/traefik/traefik and github.com/traefik/traefik/v2. It affects 1 product.

PackageAffectedFixed in
github.com/traefik/traefik/v3 GoFrom 3.5.03.6.3
github.com/traefik/traefik/v3 GoFrom 3.5.03.6.3
github.com/traefik/traefik/v3 GoFrom 3.5.03.6.3
github.com/traefik/traefik GoAll versionsNone
github.com/traefik/traefik/v2 GoAll versionsNone

Products include Traefik Traefik.

How do I fix CVE-2025-66491?

Upgrade github.com/traefik/traefik/v3 to 3.6.3 or later.

Is CVE-2025-66491 being exploited?

There is no known exploitation of CVE-2025-66491 in the wild and no public exploit code.

All Traefik Traefik vulnerabilities

Sources

Also known as GHSA-7vww-mvcr-x6vj, GO-2025-4205, MINI-2gpr-f46c-76fm, MINI-34hh-5w9m-w3j8.

Is CVE-2025-66491 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free