{"id":"CVE-2026-32595","published":"2026-03-20T10:08:41Z","modified":"2026-03-20T15:38:35Z","title":"Traefik: BasicAuth Middleware Timing Attack Allows Username Enumeration","vendor":"traefik","product":"traefik","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00425,"percentile":0.37639,"provenance":"source"},"cwes":[{"id":"CWE-208","name":"Observable Timing Discrepancy"}],"references":[{"url":"https://github.com/traefik/traefik/security/advisories/GHSA-g3hg-j4jv-cwfr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/traefik/traefik/releases/tag/v2.11.41","tags":["x_refsource_MISC"]},{"url":"https://github.com/traefik/traefik/releases/tag/v3.6.11","tags":["x_refsource_MISC"]},{"url":"https://github.com/traefik/traefik/releases/tag/v3.7.0-ea.2","tags":["x_refsource_MISC"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":7.53},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"traefik","affectedVersions":[{"vendor":"traefik","product":"traefik","versions":["< 2.11.41",">= 3.0.0-beta1, < 3.6.11",">= 3.7.0-ea.1, < 3.7.0-ea.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-20T15:38:09.554987Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/traefik/traefik","vulnerableRanges":["<=1.7.34","all versions"],"patched":[],"from":["GHSA-g3hg-j4jv-cwfr","GO-2026-4792"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/traefik/traefik/v2","vulnerableRanges":["<2.11.41"],"patched":["2.11.41"],"from":["GHSA-g3hg-j4jv-cwfr","GO-2026-4792"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/traefik/traefik/v3","vulnerableRanges":["<3.6.11",">=3.7.0-ea.1, <3.7.0-ea.2"],"patched":["3.6.11","3.7.0-ea.2"],"from":["GHSA-g3hg-j4jv-cwfr","GO-2026-4792"],"provenance":"source"}],"summary":{"text":"Traefik's BasicAuth middleware, the authentication component of this HTTP reverse proxy and load balancer, contains a timing discrepancy that reveals whether a submitted username exists. An unauthenticated attacker with network access to the affected Traefik instance can reliably distinguish valid from invalid usernames by measuring response times, because existing users trigger a slow bcrypt comparison while non-existent users get an immediate response, and no authentication or user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:44Z"},"euvd":{"id":"EUVD-2026-13664","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-26999","published":"2026-03-05","fixed":"2.11.38","kev":false},{"cve":"CVE-2026-29054","published":"2026-03-05","fixed":"2.11.38","kev":false,"link":{"from":"CVE-2026-29054","to":"CVE-2026-32595","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/traefik/traefik/v2","fromFixed":"2.11.38","toFixed":"2.11.41","daysApart":15}]}},{"cve":"CVE-2026-32305","published":"2026-03-20","fixed":"2.11.41","kev":false},{"cve":"CVE-2026-32595","published":"2026-03-20","fixed":"2.11.41","kev":false},{"cve":"CVE-2026-33433","published":"2026-03-27","fixed":"2.11.42","kev":false},{"cve":"CVE-2026-35051","published":"2026-04-30","fixed":"2.11.43","kev":false},{"cve":"CVE-2026-39858","published":"2026-04-30","fixed":"2.11.43","kev":false}],"package":"Go:github.com/traefik/traefik/v2"}}