Skip to content

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

MediumCVSS 6.3 EPSS 0.44%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Red HatNetwork Appliances

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.

Upgrade path

3 packages: 1 fixed, 1 partially fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/devspaces/traefik-rhel9(Red Hat openshift_devspaces 3) All versions No fix listed No fix yet
traefik(Go) < 2.11.41; < 3.6.11; <= 1.7.34; <= 2.11.40 +3 more 2.11.41, 3.6.11, 3.7.0-ea.2 Partially fixed
traefik < 2.11.41; = 3.7.0-ea1; = < 2.11.41; = >= 3.0.0-beta1, < 3.6.11 +2 more 2.11.41 Fixed

Affected products

ProductAffected versionsFixed in
traefik(Go) <= 1.7.34 No fix listed
traefik(Go) < 2.11.41 2.11.41
traefik(Go) < 3.6.11 3.6.11
traefik(Go) >= 3.7.0-ea.1, < 3.7.0-ea.2 3.7.0-ea.2
traefik(Go) All versions No fix listed
traefik = < 2.11.41 No fix listed
traefik = >= 3.0.0-beta1, < 3.6.11 No fix listed
traefik = >= 3.7.0-ea.1, < 3.7.0-ea.2 No fix listed
traefik(Go) <= 2.11.40 No fix listed
traefik(Go) <= 3.6.10 No fix listed
redhat/devspaces/traefik-rhel9(Red Hat:openshift_devspaces:3) All versions No fix listed
traefik < 2.11.41 2.11.41
traefik >= 3.0.0, <= 3.6.11 No fix listed
traefik = 3.7.0-ea1 No fix listed

References