Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-32595 EUVD-2026-13664GHSA-g3hg-j4jv-cwfrGO-2026-4792

Traefik: BasicAuth Middleware Timing Attack Allows Username Enumeration

Published Mar 20, 2026 · Updated Mar 20, 2026 · Assigned by GitHub_M

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

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

ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
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

References