Description
Traefik is an HTTP reverse proxy and load balancer. Versions 2.11.40 and below, 3.0.0-beta1 through 3.6.11, and 3.7.0-ea.1 comtain BasicAuth middleware that allows username enumeration via a timing attack. When a submitted username exists, the middleware performs a bcrypt password comparison taking ~166ms. When the username does not exist, the response returns immediately in ~0.6ms. This ~298x timing difference is observable over the network and allows an unauthenticated attacker to reliably distinguish valid from invalid usernames. This issue is patched in versions 2.11.41, 3.6.11 and 3.7.0-ea.2.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| traefik | traefik | < 2.11.41, >= 3.0.0-beta1, < 3.6.11, >= 3.7.0-ea.1, < 3.7.0-ea.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | traefik | 3.6.12-1.1 | openSUSE-SU-2026:10444-1 |
| openSUSE Tumbleweed | traefik2 | 2.11.42-1.1 | openSUSE-SU-2026:10445-1 |
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
| openSUSE Leap 15.6 | govulncheck-vulndb | 0.0.20260326T203309-150000.1.155.2 | SUSE-SU-2026:1135-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/traefik/traefik | <= 1.7.34 | — | GHSA-g3hg-j4jv-cwfr |
| Go | github.com/traefik/traefik | all versions | — | GO-2026-4792 |
| Go | github.com/traefik/traefik/v2 | < 2.11.41 | 2.11.41 | GHSA-g3hg-j4jv-cwfr |
| Go | github.com/traefik/traefik/v3 | < 3.6.11 | 3.6.11 | GHSA-g3hg-j4jv-cwfr |
| Go | github.com/traefik/traefik/v3 | >= 3.7.0-ea.1, < 3.7.0-ea.2 | 3.7.0-ea.2 | GHSA-g3hg-j4jv-cwfr |
| Go | github.com/traefik/traefik/v3 | < 3.6.11 · >= 3.7.0-ea.1, < 3.7.0-ea.2 | 3.6.11, 3.7.0-ea.2 | GO-2026-4792 |
Advisories 4
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026
- SUSE-SU-2026:1135-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Mar 31, 2026
- openSUSE-SU-2026:10445-1 traefik2-2.11.42-1.1 on GA media SUSE / openSUSE Security Updates · Mar 28, 2026
- openSUSE-SU-2026:10444-1 traefik-3.6.12-1.1 on GA media SUSE / openSUSE Security Updates · Mar 28, 2026