Skip to main content

Traefik CVE-2025-66491

MEDIUM
Improper Certificate Validation (CWE-295)
2025-12-09 security-advisories@github.com
5.9
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain MITM position on Traefik-to-backend path
  2. Delivery
    Target instance with proxy-ssl-verify set to 'on'
  3. Exploit
    Present forged backend TLS certificate
  4. Execution
    Verification silently skipped (InsecureSkipVerify=true)
  5. Impact
    Intercept 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

go github.com/traefik/traefik no fix
go github.com/traefik/traefik/v2 no fix
go github.com/traefik/traefik/v3 fix: 3.6.3

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

Vendor (github) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.4 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 5.9 MEDIUM

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
High
widely-deployed cloud-native reverse proxy and Kubernetes ingress controller
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:*
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2026-85595 CRITICAL POC
9.3 Sep 04

Authentication bypass in Traefik reverse proxy before v2.11.55 lets remote unauthenticated attackers defeat any route pr

CVE-2026-88007 CRITICAL POC
9.1 Sep 10

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

CVE-2026-88009 HIGH POC
8.8 Sep 10

HTTP/1 request-target parsing in Traefik prior to 2.11.57 and 3.7.13 allows unauthenticated remote attackers to send a r

CVE-2026-65600 HIGH POC
7.8 Jul 22

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

CVE-2026-67309 HIGH POC
7.8 Aug 01

Route-level authentication bypass in Traefik v3.7.0-v3.7.7 allows unauthenticated remote attackers to reach backend endp

CVE-2023-47633 HIGH POC
7.5 Dec 04

Traefik is an open source HTTP reverse proxy and load balancer. Rated high severity (CVSS 7.5), this vulnerability is re

CVE-2019-12452 HIGH POC
7.5 May 29

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

CVE-2026-88008 HIGH POC
7.0 Sep 10

Security middleware bypass in Traefik reverse proxy versions 2.11.26-2.11.56 and 3.4.2-3.7.12 allows unauthenticated net

CVE-2026-88004 HIGH POC
7.0 Sep 10

Traefik's header-security defenses (aliasHeadersStrategy, underscoreHeadersStrategy, forwardedHeaders) inspect req.Heade

CVE-2025-66490 MEDIUM POC
6.9 Dec 09

Path normalization bypass in Traefik allows unauthenticated remote attackers to circumvent the middleware chain on path-

CVE-2023-47106 MEDIUM POC
6.5 Dec 04

Traefik is an open source HTTP reverse proxy and load balancer. Rated medium severity (CVSS 6.5), this vulnerability is

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy