CVE-2026-32595CWE-208

Traefik: BasicAuth Middleware Timing Attack Allows Username Enumeration

Medium · published March 20, 2026

CVSS v4.0
6.3
EPSS
0%
Percentile
32.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.3 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N
EPSS
0.00396 · 32.6th percentile
Weakness
CWE-208 · Observable Timing Discrepancy
Published
2026-03-20T10:08Z
EPSS history
Timeline
  • 20 MAR 10:08Z
    Traefik: BasicAuth Middleware Timing Attack Allows Username Enumeration
    cvelistv5