# CVE-2026-32595: Traefik: BasicAuth Middleware Timing Attack Allows Username Enumeration

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 30% of CVEs (2026-11-30)
- Published: 2026-03-20T10:08:41.636Z
- Modified: 2026-06-17T10:36:04.243Z
- Also known as: GHSA-g3hg-j4jv-cwfr, GO-2026-4792
- Weaknesses: CWE-208
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- traefik traefik: < 2.11.41; >= 3.0.0-beta1, < 3.6.11; >= 3.7.0-ea.1, < 3.7.0-ea.2; before 2.11.41; from 3.0.0 up to 3.6.11; 3.7.0
- github.com/traefik/traefik (Go): up to 1.7.34; all versions
- github.com/traefik/traefik/v2 (Go): before 2.11.41
- github.com/traefik/traefik/v3 (Go): before 3.6.11; from 3.7.0-ea.1 before 3.7.0-ea.2

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/traefik/traefik/security/advisories/GHSA-g3hg-j4jv-cwfr> (advisory, patch, vendor-advisory, web)
- <https://github.com/traefik/traefik/releases/tag/v2.11.41> (release-notes, web)
- <https://github.com/traefik/traefik/releases/tag/v3.6.11> (release-notes, web)
- <https://github.com/traefik/traefik/releases/tag/v3.7.0-ea.2> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32595> (advisory)
- <https://github.com/traefik/traefik> (package)

## Sources

- CVE List: [CVE-2026-32595](https://www.cve.org/CVERecord?id=CVE-2026-32595), CVE Terms of Use, modified 2026-03-20
- GitHub Advisory Database: [GHSA-g3hg-j4jv-cwfr](https://github.com/advisories/GHSA-g3hg-j4jv-cwfr), CC-BY-4.0, modified 2026-04-16
- Go Vulnerability Database: [GO-2026-4792](https://pkg.go.dev/vuln/GO-2026-4792), CC-BY-4.0, modified 2026-04-16
- NVD: [CVE-2026-32595](https://nvd.nist.gov/vuln/detail/CVE-2026-32595), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32595 · Whole record: https://cve.day/CVE-2026-32595.json · Rebuilt by cve.day 2026-11-25T22:59:16.314Z
