Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Traefik endpoint with BasicAuth middleware
-
ExploitSend concurrent requests for candidate usernames
-
ExecutionObserve singleflight timing coalescing difference
-
ImpactEnumerate valid usernames for follow-on attacks
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V6 - Authentication Timing attack prevention
|
| Exploitation Conditions | Requires the target Traefik instance (version 3.6.11 through 3.7.12) to have a BasicAuth middleware configured; Traefik v2 and Digest authentication are explicitly not affected. Exploitation further requires the attacker to send timed concurrent requests and statistically distinguish a timing discrepancy between coalesced (absent-username) and separately-hashed (present-username) code paths - sequential probing is cost-equalized and does not leak. No authentication is needed (PR:N), but the AT:P attack requirement (concurrency race) and the versioned, feature-gated exposure meaningfully limit real-world exploitability; the flaw only reveals username existence, not credentials. |
| Impact | This is a genuine but low-severity confidentiality issue, not a high-priority emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:L, 6.3 Medium) correctly captures a network-reachable, unauthenticated flaw whose only impact is Low confidentiality (VC:L) - the leak of whether a username exists, not credentials or authentication bypass, as the description explicitly states. The AT:P (attack requirement 'Present') is the key limiter: exploitation depends on winning a race where concurrent requests for absent usernames coalesce on one singleflight key while configured usernames hash separately, so the attacker must send timed concurrent requests and statistically measure a timing discrepancy - real work, not a single deterministic request (this maps to AC:H in CVSS 3.1). No EPSS score, KEV listing, or public POC was provided; the only exploit-relevant artifact is the fix PR's own test (TestBasicAuthConcurrentNoUserEnumeration), which demonstrates the coalescing behavior conceptually but is not weaponized exploit code. There is no conflict between signals - every source (description, CVSS, CWE-208 timing side-channel) agrees this is a username-enumeration oracle. Net: low real-world risk, useful mainly as reconnaissance to seed later credential attacks; patch on normal cadence rather than as an emergency. |
| Exploit ScenarioDerived | An unauthenticated attacker targeting a Traefik instance with a BasicAuth middleware sends bursts of concurrent HTTP requests using candidate usernames (each with an arbitrary password) and measures response timing. Because requests for non-existent usernames coalesce onto a single singleflight computation while requests for real usernames each perform a separate password hash, the timing difference reveals which usernames are valid, letting the attacker build a list of real accounts to feed into password-spraying or phishing. No public weaponized exploit exists, though the fix PR includes a test that demonstrates the underlying coalescing behavior. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 22, 2026
Concurrent HTTP requests to Traefik's BasicAuth middleware can reveal whether a username is configured, because absent usernames are collapsed into a single deduplicated (singleflight) computation while real usernames each trigger a separate password hash - a measurable timing discrepancy that unauthenticated, remote attackers can exploit. Only Traefik 3.6.11 through 3.7.12 are affected, and only when BasicAuth middleware is enabled; Traefik v2 and Digest authentication are explicitly unaffected. The issue discloses username existence only - no credentials are exposed and authentication is not bypassed - and no public exploit code or confirmed active exploitation was identified at time of analysis, with exploitation further gated on the attacker issuing timed concurrent requests and statistically distinguishing the two code paths (CVSS 4.0 AT:P). Patched in 3.7.13.
RemediationAI
Vendor-released patch: Traefik 3.7.13 - upgrade all instances running 3.6.11 through 3.7.12 with BasicAuth middleware configured to v3.7.13 or later (release notes: https://github.com/traefik/traefik/releases/tag/v3.7.13; advisory: https://github.com/traefik/traefik/security/advisories/GHSA-8fcf-v89g-xpg6). If the upgrade cannot be applied immediately, the most effective compensating control is to remove the timing side channel's exploitability by making username existence non-sensitive: restrict BasicAuth-protected routes to trusted networks or authenticated network paths (VPN/IP allowlists) so untrusted clients cannot perform fine-grained timing measurement, at the cost of reducing the public reachability of those routes; additionally, per-source rate limiting or connection concurrency caps blunt the concurrent-probe pattern the attack depends on, though a patient attacker with many source addresses may still gather usable measurements, so this is a mitigation and not a fix. Migrating the affected middleware from BasicAuth to Digest authentication removes exposure entirely because Digest is unaffected, but it changes client behavior and credential handling and requires client support. Disabling or replacing BasicAuth with a proxy-level identity mechanism also eliminates the flaw, with the trade-off that the endpoint becomes unauthenticated or requires re-engineering of the access model. Note that this is a low-severity username-enumeration issue with no credential disclosure or authentication bypass, so remediation can be scheduled with normal change management; no vendor workaround beyond upgrading is documented in the advisory references.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-208 (Observable Timing Discrepancy) inside pkg/middlewares/auth/basic_auth.go. Traefik's BasicAuth middleware uses golang.org/x/sync/singleflight to deduplicate concurrent password checks: requests sharing a singleflight key are collapsed into one underlying computation. In the affected code the key was built as strconv.Itoa(len(password)) + ":" + password + secret, i.e. from the submitted password and the stored secret. For an absent username there is no stored secret, so all concurrent requests for unknown users coalesce onto one key and execute a single (cheap, no-hash) path, whereas each configured username produces a distinct key and therefore its own bcrypt password hash. The resulting differential in response time leaks username existence under concurrency. Sequential probing was deliberately cost-equalized and does not leak, and neither credential values nor authentication decisions are affected. The fix (PR #13816, commit ddc1bf4660b85fd61fafdd821eb8216fb1a0b130) introduces singleflightKey(user, password) returning strconv.Itoa(len(user)) + ":" + user + ":" + password, keying on the user rather than the secret; the length prefix prevents boundary-shift collisions like ("ab","cd") versus ("a","bcd") and resolves the related key-collision weakness tracked as GHSA-6765-c87h-8mrf, where omitting the user could hand one user's verdict to another. The CPE cpe:2.3:a:traefik:traefik confirms the Traefik product line, with version gating 3.6.11 through 3.7.12; the CVSS 4.0 metric AT:P (attack requirements present) captures that this is not a straightforward single-request attack but depends on a concurrency race and statistical timing measurement, which is also why the independent assessment rates it AC:H under CVSS 3.1 with C:L rather than a higher confidentiality impact.
Know when Traefik gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable and unauthenticated (AV:N/PR:N), but the concurrency timing race makes reliable exploitation high-complexity (AC:H); only username existence leaks, so C:L with no integrity or availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Traefik is an open source HTTP reverse proxy and load balancer. From 3.6.11 until 3.7.13, checkPassword in pkg/middlewares/auth/basic_auth.go constructs the BasicAuth singleflight key from the submitted password and stored secret. Concurrent requests for absent usernames therefore coalesce on one key while configured usernames perform separate password hashes, creating an unauthenticated timing discrepancy that reveals whether a username exists. Sequential checks remain cost-equalized, Traefik v2 and Digest authentication are not affected, and the issue does not disclose credentials or bypass authentication. This issue is fixed in version 3.7.13.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Authentication bypass in Traefik reverse proxy before v2.11.55 lets remote unauthenticated attackers defeat any route pr
Backend connection hijacking in Traefik reverse proxy (2.11.0 through 2.11.56 and 3.0.0 through 3.7.12) lets an unauthen
HTTP/1 request-target parsing in Traefik prior to 2.11.57 and 3.7.13 allows unauthenticated remote attackers to send a r
Authentication bypass in the Traefik reverse proxy (v2.11.51 and earlier, v3.6.0-v3.6.22, and v3.7.0-v3.7.6) allows unau
Route-level authentication bypass in Traefik v3.7.0-v3.7.7 allows unauthenticated remote attackers to reach backend endp
Traefik is an open source HTTP reverse proxy and load balancer. Rated high severity (CVSS 7.5), this vulnerability is re
types/types.go in Containous Traefik 1.7.x through 1.7.11, when the --api flag is used and the API is publicly reachable
Security middleware bypass in Traefik reverse proxy versions 2.11.26-2.11.56 and 3.4.2-3.7.12 allows unauthenticated net
Traefik's header-security defenses (aliasHeadersStrategy, underscoreHeadersStrategy, forwardedHeaders) inspect req.Heade
Path normalization bypass in Traefik allows unauthenticated remote attackers to circumvent the middleware chain on path-
Traefik is an open source HTTP reverse proxy and load balancer. Rated medium severity (CVSS 6.5), this vulnerability is
EUVD-2026-84532
GHSA-8fcf-v89g-xpg6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB