CVE-2022-23632
Traefik skips the router TLS configuration when the host header is an FQDN
Also known as GHSA-hrhx-6h34-j5hc, GO-2022-0325
Mitigation
- Upgrade github.com/traefik/traefik/v2 to 2.6.1 or later.
Who should check
- Projects that depend on Go package github.com/traefik/traefik/v2 (< 2.6.1)
- Projects that depend on Go package github.com/traefik/traefik
- Anyone running traefik < 2.6.1
Vulnerability facts
- Affected
- github.com/traefik/traefik/v2 < 2.6.1; github.com/traefik/traefik
- Fixed in
- 2.6.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 1.32% chance of exploitation in 30 days (percentile 71, 2026-11-26)
- CWE
- CWE-295
- Modified
Description
Traefik is an HTTP reverse proxy and load balancer. Prior to version 2.6.1, Traefik skips the router transport layer security (TLS) configuration when the host header is a fully qualified domain name (FQDN). For a request, the TLS configuration choice can be different than the router choice, which implies the use of a wrong TLS configuration. When sending a request using FQDN handled by a router configured with a dedicated TLS configuration, the TLS configuration falls back to the default configuration that might not correspond to the configured one. If the CNAME flattening is enabled, the selected TLS configuration is the SNI one and the routing uses the CNAME value, so this can skip the expected TLS configuration. Version 2.6.1 contains a patch for this issue. As a workaround, one may add the FDQN to the host rule. However, there is no workaround if the CNAME flattening is enabled.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/traefik/traefik/v2 | < 2.6.1 | 2.6.1 | osv |
| Go github.com/traefik/traefik | — | — | osv |
| traefik | < 2.6.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-23632. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-23632.md Affected: github.com/traefik/traefik/v2 < 2.6.1; github.com/traefik/traefik Fixed in: 2.6.1 Steps: 1. Search this machine and project for github.com/traefik/traefik/v2 (Go), github.com/traefik/traefik (Go), traefik: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2022-23632 being exploited?
There is no confirmed exploitation: CVE-2022-23632 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-23632?
High: CVSS 7.4 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2022-23632?
github.com/traefik/traefik/v2 < 2.6.1; github.com/traefik/traefik.
Is there a fix for CVE-2022-23632?
Yes. Fixed in 2.6.1. Upgrade github.com/traefik/traefik/v2 to 2.6.1 or later.
How do I check if I'm affected by CVE-2022-23632?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.