CVE-2026-137482: Traefik before 2.11.62 Denial of Service via BasicAuth Password Length
Traefik before 2.11.62, 3.x before 3.7.18, and 3.8.0-rc.1 before 3.8.0-rc.2 contain a denial of service vulnerability in the BasicAuth middleware, which does not limit password length before MD5-crypt ($apr1$, $1$) hashing. Unauthenticated attackers can send passwords up to the entry point maxHeaderBytes limit (1 MiB by default), consuming excessive CPU per request and degrading availability.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using Traefik's BasicAuth middleware are exposed if they run a version before 2.11.62, a 3.x version before 3.7.18, or 3.8.0-rc.1 before 3.8.0-rc.2. The affected request path must be reachable by an attacker.
What does an attacker need to exploit it?
No authentication or user interaction is required. An attacker can submit oversized BasicAuth passwords, up to the entry point maxHeaderBytes limit, causing expensive MD5-crypt hashing work for each request.
Are default settings affected?
Yes. The default entry point maxHeaderBytes limit is 1 MiB, allowing passwords up to that size to be processed by the affected middleware.
What can be done if an upgrade cannot happen immediately?
Reduce the entry point maxHeaderBytes limit to restrict the maximum password length accepted in request headers. This reduces the per-request CPU cost available to an unauthenticated attacker.