Servers and applications
CVE-2026-32595
BasicAuth Middleware Timing Attack Allows Username Enumeration
- Severity
- Medium 6.3
- Published
- 20 Mar 2026
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 2.11.41, 3.6.11, 3.7.0-ea.2
- Exploit chance
- 0.4% in the next 30 daysHigher than 37% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Timing discrepancy (CWE-208)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X- Also known as
- GHSA-g3hg-j4jv-cwfr
- Sources
- NVD, Project advisories (GitHub)
Description
There is a potential vulnerability in Traefik's 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.
A timing attack vulnerability exists in Traefik's BasicAuth middleware that allows unauthenticated attackers to enumerate valid usernames. When a username exists, bcrypt password verification takes ~166ms; when it doesn't exist, the response returns immediately in ~0.6ms. This ~298x timing difference enables reliable username enumeration.
The vulnerability exists in the BasicAuth middleware implementation. When validating credentials:
Affected software
| Software | Affected versions |
|---|---|
TraefikServers and applications · cpe:a:traefik:traefik |
|
TraefikServers and applications · github:traefik/traefik |
|
About Traefik
HTTP reverse proxy and load balancer
- Docker Hub pulls
- 3,604,536,669Docker Hub, 15 Nov 2026
- GitHub stars
- 65,551GitHub, 15 Nov 2026
- Forks
- 6,312GitHub, 15 Nov 2026
- Latest release
- v3.7.19GitHub, 15 Nov 2026
- Released
- 13 Nov 2026GitHub
- License
- Expat licenseWikidata
- Written in
- GoWikidata
- First published on GitHub
- 13 Sept 2015GitHub
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 3.7 | 3.7.19 | Yes |
| 3.6 | 3.6.25 | Ended 16 Aug 2026 |
| 3.5 | 3.5.6 | Ended 7 Nov 2025 |
| 3.4 | 3.4.5 | Ended 23 Jul 2025 |
| 3.3 | 3.3.7 | Ended 5 May 2025 |
| 3.2 | 3.2.5 | Ended 6 Jan 2025 |
From endoflife.date.
Vulnerabilities in Traefik
- In our list
- 125
- Published in the last 12 months
- 95
- Critical, last 12 months
- 4
- High, last 12 months
- 58
- Known exploited
- 1
- CVE-2026-130732Traefik from 2.11.58 before 2.11.61 Denial of Service via NTLM/Negotiate HeadersHigh 8.7 18 Nov 2026
- GHSA-x5pf-cqh3-2gv8Unauthenticated memory-exhaustion DoS: the Compress middleware pins ~18 MiB of zstd encoder state per in-flight responseHigh 8.7 12 Nov 2026
- GHSA-rr42-h8r2-f28gUnbounded BasicAuth password length gives ~1857x CPU amplification through MD5-crypt, pre-authenticationMedium 6.3 12 Nov 2026
- GHSA-p956-6gvv-mxqpIncomplete fix for GHSA-hrpp-p4fc-wwf8 allows ForwardAuth NTLM authentication bypass via Proxy-AuthorizationHigh 7.0 12 Nov 2026
- GHSA-cp28-5662-543fsanitizePath does not remove path-parameter dot-segments (/..;x/), enabling path-based authorization bypassHigh 7.8 12 Nov 2026
- GHSA-ccgh-9g52-6vwgingress-nginx client certificate authentication (auth-tls-secret) verification bypass and Ssl-Client-* header spoofing on shared hostsHigh 7.0 12 Nov 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-32595
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-32595
- GitHub Advisory Database https://github.com/advisories/GHSA-g3hg-j4jv-cwfr
- github.com https://github.com/traefik/traefik/security/advisories/GHSA-g3hg-j4jv-cwfr