Traefik
CVE-2025-66491
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain MITM position on Traefik-to-backend path
-
DeliveryTarget instance with proxy-ssl-verify set to 'on'
-
ExploitPresent forged backend TLS certificate
-
ExecutionVerification silently skipped (InsecureSkipVerify=true)
-
ImpactIntercept and tamper with backend HTTPS traffic
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitation requires a specific, non-default stack: (1) Traefik 3.5.0-3.6.2 running the EXPERIMENTAL ingress-nginx provider; (2) the nginx.ingress.kubernetes.io/proxy-ssl-verify annotation explicitly set to "on" (the dangerous case - the operator intends to enforce verification but it is silently disabled); (3) HTTPS backends; and (4) the attacker must already hold a man-in-the-middle position on the network path between Traefik and the backend service. Limiting factors that reduce realistic risk: the vulnerable provider is experimental (not Traefik's default routing), the annotation must be deliberately set to 'on', the flaw provides no help in gaining the required network position (hence CVSS AC:H), and only the three affected 3.5.x-3.6.2 releases are impacted. The default/unset ('off') case leaves verification enabled and is not exploitable via this path. |
| Impact | This is a genuine but conditional, moderate-severity issue rather than a top-priority emergency. The vendor/GHSA-confirmed CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N, 5.9 Medium) tells the real story: although the attack vector is network and no privileges are required, the AC:H reflects that an attacker must already occupy a man-in-the-middle position on the path between Traefik and its HTTPS backend - the flaw does not grant that position, it only removes the certificate check that would otherwise defeat it. Corroborating signals point to low real-world urgency: EPSS is only 0.22% (12th percentile), the CVE is NOT in CISA KEV, and no public exploit code is referenced, so exploitation status is 'no public exploit identified at time of analysis.' These signals are mutually consistent (low EPSS + no KEV + no POC = low likelihood of opportunistic mass exploitation). One nuance to flag: the official vector rates I:N, but a successful TLS-stripping MITM inherently permits traffic tampering, so the integrity impact is arguably understated - see assessed vector below. Net: patch on a normal cycle, prioritize only where the experimental ingress-nginx provider is actually in use with the proxy-ssl-verify annotation set to 'on'. |
| Exploit ScenarioDerived | An operator running Traefik 3.5.0-3.6.2 with the experimental ingress-nginx provider sets nginx.ingress.kubernetes.io/proxy-ssl-verify to "on", believing backend TLS certificate verification is now enforced. Because the logic is inverted, Traefik actually sets InsecureSkipVerify=true and accepts any certificate, so an attacker already positioned on the Traefik-to-backend network path presents a forged certificate and silently intercepts and modifies the HTTPS traffic. No public exploit code is referenced; exploitation requires pre-existing network-adjacency (reflected in CVSS AC:H). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Traefik 3.5.0 through 3.6.2 silently disable TLS certificate verification for HTTPS backends when the experimental ingress-nginx provider's nginx.ingress.kubernetes.io/proxy-ssl-verify annotation is set to "on" - the exact setting an operator uses to require verification - because the provider inverts the annotation's meaning when populating Go's InsecureSkipVerify field. This leaves unauthenticated attackers who already occupy a man-in-the-middle position on the Traefik-to-backend network path able to intercept (and, per our assessment, potentially tamper with) traffic that operators believe is protected. Exploitation is conditional rather than opportunistic: it requires the experimental provider, an explicit "on" annotation, HTTPS backends, and a pre-existing network foothold; no public exploit code was identified at time of analysis, EPSS is low at 0.22% (12th percentile), and the issue is not in CISA KEV, making this a moderate, configuration-dependent risk rather than an emergency.
RemediationAI
Vendor-released patch: upgrade to Traefik 3.6.3, which corrects the inverted comparison (commit 14a1aedf5704673d875d210d7bacf103a43c77e4) and matches https://github.com/traefik/traefik/releases/tag/v3.6.3; consult https://github.com/traefik/traefik/security/advisories/GHSA-7vww-mvcr-x6vj for the advisory text. Until the upgrade is deployed, a targeted compensating control is available precisely because the logic is inverted: on an affected 3.5.x-3.6.2 release, unsetting the annotation or setting nginx.ingress.kubernetes.io/proxy-ssl-verify to "off" results in InsecureSkipVerify being false, so certificate verification is actually performed - the trade-off is that this contradicts documented ingress-nginx semantics and is easy to misread or to carry over after patching, so it must be tracked as a temporary, documented workaround and reverted to "on" immediately after upgrading to 3.6.3. Where that inversion is impractical to manage, disable the experimental ingress-nginx provider entirely on the affected Traefik instances (restoring the secure default posture, at the cost of losing ingress-nginx annotation compatibility), or remove the annotation-driven ServersTransport so backends are not routed over unauthenticated TLS. Because exploitation additionally demands a man-in-the-middle position, network-layer controls help as defense in depth - enforce mTLS between the proxy and backends or run them on a trusted network segment/mesh with policy-based identity - but these are hardening measures, not substitutes for the 3.6.3 upgrade since they do not restore certificate validation in Traefik itself. Note that no vendor-issued patch for the 3.5.x branch is identified beyond upgrading to 3.6.3, and no public exploit code was identified at time of analysis.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-295 (Improper Certificate Validation) realized as an inverted boolean in Go source. In pkg/provider/kubernetes/ingress-nginx/kubernetes.go, the provider constructed a namedServersTransport with InsecureSkipVerify: strings.ToLower(ptr.Deref(cfg.ProxySSLVerify, "off")) "on". Under NGINX/ingress-nginx semantics the annotation value "on" means 'verify the backend certificate', but that expression yields true precisely when the annotation is "on", and true in Go's crypto/tls means 'do not verify the server's certificate'. The default/unset value ("off") therefore yields InsecureSkipVerify: false, i.e. verification enabled, producing a completely reversed security posture relative to operator intent. Because verification is skipped, the TLS handshake accepts any certificate - self-signed, expired, wrong-hostname, or attacker-issued - so the encrypted channel to an HTTPS Service is established with an unauthenticated peer. Only the experimental ingress-nginx compatibility provider (parsing nginx.ingress.kubernetes.io/* annotations on Kubernetes Ingress objects) is affected; Traefik's standard Kubernetes Ingress, IngressRoute/CRD, and file providers are not part of this code path, and the upstream CPE for the package (cpe:2.3:a:traefik:traefik) and the Go module coordinate go/github.com/traefik/traefik/v3 both scope the flaw to 3.5.0-3.6.2. The fix commit 14a1aedf5704673d875d210d7bacf103a43c77e4 changes the comparison to "off" and updates the unit test (TestLoadIngresses) expectation from InsecureSkipVerify: true to false.
Know when Traefik gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
MITM positioning and config dependency give AC:H; no attacker privileges (PR:N); a successful TLS-stripping MITM permits both interception and tampering, so C:H and I:H (I raised from vendor's N); no availability impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Authentication bypass in Traefik reverse proxy before v2.11.55 lets remote unauthenticated attackers defeat any route pr
Backend connection hijacking in Traefik reverse proxy (2.11.0 through 2.11.56 and 3.0.0 through 3.7.12) lets an unauthen
HTTP/1 request-target parsing in Traefik prior to 2.11.57 and 3.7.13 allows unauthenticated remote attackers to send a r
Authentication bypass in the Traefik reverse proxy (v2.11.51 and earlier, v3.6.0-v3.6.22, and v3.7.0-v3.7.6) allows unau
Route-level authentication bypass in Traefik v3.7.0-v3.7.7 allows unauthenticated remote attackers to reach backend endp
Traefik is an open source HTTP reverse proxy and load balancer. Rated high severity (CVSS 7.5), this vulnerability is re
types/types.go in Containous Traefik 1.7.x through 1.7.11, when the --api flag is used and the API is publicly reachable
Security middleware bypass in Traefik reverse proxy versions 2.11.26-2.11.56 and 3.4.2-3.7.12 allows unauthenticated net
Traefik's header-security defenses (aliasHeadersStrategy, underscoreHeadersStrategy, forwardedHeaders) inspect req.Heade
Path normalization bypass in Traefik allows unauthenticated remote attackers to circumvent the middleware chain on path-
Traefik is an open source HTTP reverse proxy and load balancer. Rated medium severity (CVSS 6.5), this vulnerability is
NVD
CVE.org
EPSS
GitHub
Exploit-DB