CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-88010

CVE-2026-88010: Unauthenticated Username-Enumeration Timing Oracle in Traefik BasicAuth Middleware

Amit Schendel
Amit Schendel
Senior Security Researcher

Sep 22, 2026·7 min read·37 visits

Executive Summary (TL;DR)

A design flaw in Traefik's BasicAuth singleflight deduplication mechanism allows unauthenticated attackers to discover valid usernames by measuring timing differences during coordinated concurrent requests.

An unauthenticated timing oracle vulnerability exists in Traefik's BasicAuth middleware from version 3.6.11 up to (but not including) 3.7.13. By utilizing a request coalescing mechanism (singleflight.Group) that relies on server-side stored secret hashes for key generation, the software introduces a timing discrepancy. Concurrent requests targeting non-existent usernames generate identical singleflight keys and coalesce, resulting in accelerated response times. Conversely, requests targeting valid usernames produce distinct keys and execute independently, allowing remote attackers to systematically enumerate valid usernames.

Vulnerability Overview

Traefik is an open-source HTTP reverse proxy and load balancer widely utilized in modern cloud-native environments. To handle inbound traffic securely, Traefik includes a BasicAuth middleware that validates user credentials before forwarding traffic to upstream services. Because authentication verification relies on resource-heavy cryptographic hashing algorithms (such as bcrypt), the middleware is exposed to CPU exhaustion vectors. To protect system resources from parallel verification attacks, Traefik integrates Go's singleflight deduplication module.

Under normal execution, the singleflight mechanism blocks concurrent identical verification requests, resolves them with a single cryptographic check, and shares the verdict. However, from version 3.6.11 to 3.7.12, a severe structural flaw exists in how the singleflight lookup key is generated. This vulnerability exposes an observable timing discrepancy (CWE-208), allowing unauthenticated remote actors to determine the existence of specific configuration credentials.

While this timing oracle does not directly expose user passwords or bypass authentication mechanisms, it strips away the anonymity of system configurations. Attackers can leverage this capability to map out administrative and user accounts. This initial information collection facilitates subsequent, highly targeted brute-force and credential-stuffing campaigns against the deployment infrastructure.

Root Cause Analysis

The root cause of CVE-2026-88010 resides within the checkPassword function of Traefik's basic authentication middleware located at pkg/middlewares/auth/basic_auth.go. When a request arrives, the middleware must compute the cryptographic hash of the provided password and compare it to the stored secret. To optimize execution, Traefik wraps this calculation in a singleflightGroup.Do() block, which takes a string key to uniquely identify the workload.

The deduplication key is formulated as: key := strconv.Itoa(len(password)) + ":" + password + secret. Here, secret represents the server-configured hash retrieved via b.auth.Secrets(user). If the target username does not exist in the configuration database, the lookup returns an empty string (""). This causes the generated key to omit any user-specific identifiers, collapsing down to: len(password):password.

Because the key generation for non-existent users depends entirely on the attacker-supplied password, concurrent requests for different invalid usernames share the same key. The singleflight system intercepts these duplicate keys and coalesces them, executing only a single hash computation. Conversely, when a valid username is queried, its corresponding non-empty secret hash is appended to the key, generating a unique entry that bypasses coalescence. This logical divergence creates a reliable side-channel timing difference.

Code Analysis and Fix Review

To understand the vulnerability mechanics and the subsequent remediation, we must examine the vulnerable code side-by-side with the official patch implemented in commit ddc1bf4660b85fd61fafdd821eb8216fb1a0b130.

In the vulnerable implementation, the application relies on the configuration state (secret) to differentiate the execution tracks within the deduplication library:

// VULNERABLE CODE PATH
func (b *basicAuth) checkPassword(user, password string) bool {
    secret := b.auth.Secrets(user, b.auth.Realm)
 
    // The addition of 'secret' here leaks user existence.
    // If secret is empty, the key is identical across different invalid users.
    key := strconv.Itoa(len(password)) + ":" + password + secret
    match, _, _ := b.singleflightGroup.Do(key, func() (any, error) {
        if secret == "" {
            _ = b.checkSecret(password, b.notFoundSecret)
            return false, nil
        }
        return b.checkSecret(password, secret), nil
    })
    return match.(bool)
}

The patch addresses this issue by removing the server-configured secret from the singleflight key generation entirely. Instead, a dedicated function named singleflightKey constructs the deduplication key utilizing only client-controlled parameters:

// PATCHED CODE PATH
func (b *basicAuth) checkPassword(user, password string) bool {
    secret := b.auth.Secrets(user, b.auth.Realm)
 
    // Key is generated purely on client-supplied input via singleflightKey
    match, _, _ := b.singleflightGroup.Do(singleflightKey(user, password), func() (any, error) {
        if secret == "" {
            _ = b.checkSecret(password, b.notFoundSecret)
            return false, nil
        }
        return b.checkSecret(password, secret), nil
    })
    return match.(bool)
}
 
func singleflightKey(user, password string) string {
    // Length-prefix avoids delimiter injection while retaining uniqueness per user.
    return strconv.Itoa(len(user)) + ":" + user + ":" + password
}

By prefixing the username length and concatenating the actual username, the keys for unknown1 and unknown2 remain structurally distinct: 8:unknown1:password versus 8:unknown2:password. This prevents any possibility of cross-user coalescence. Additionally, retaining the username inside the singleflight key is critical; completely omitting the username would let an attacker pass credentials for one user and receive the authentication verdict belonging to another (as detailed in GHSA-6765-c87h-8mrf). The fix is complete and robust against variant exploitation pathways.

Exploitation Methodology

Exploiting this timing oracle requires the coordination of concurrent HTTP requests. The objective is to measure whether a targeted probe request coalesces with an ongoing anchor request. Because the singleflight mechanism works in-memory on the active proxy, the attacker must send the anchor and probe requests in extremely close succession.

First, the attacker establishes a network latency baseline by sending multiple sequential authentication requests containing invalid usernames. Each request forces the proxy to run a dummy cryptographic comparison using the default fallback hash, resulting in a stable response latency ($T_{hash}$).

Second, the attacker initiates an active probe sequence. The attacker transmits an 'Anchor' request containing a known invalid username and a specific password. This request initiates the server-side dummy hashing routine, which takes $T_{hash}$ to complete. While this request is active, the attacker immediately sends a concurrent 'Probe' request containing the target username and the identical password.

If the target username is valid, the proxy generates a unique key, and the request is computed independently, taking the full $T_{hash}$ duration. However, if the target username is invalid, both requests generate the same singleflight key. The Probe request immediately coalesces with the Anchor request, blocking until the Anchor finishes. Consequently, both requests complete at nearly the same time, giving the Probe a response duration significantly shorter than the baseline ($T_{probe} < T_{hash} / 2$). By analyzing this differential across multiple cycles, attackers can reliably map the configuration landscape.

Impact Assessment

The impact of CVE-2026-88010 is classified as Medium, receiving a CVSS v4.0 base score of 6.3. The vulnerability is restricted to information disclosure, specifically exposing valid authentication usernames configured within Traefik's BasicAuth middleware. It does not allow for credential harvesting, authentication bypass, or arbitrary code execution on the target server.

Nonetheless, username enumeration represents a critical step in the cyber kill chain. In environments where basic authentication protects sensitive management API endpoints (such as the Traefik Dashboard or administrative backends), revealing valid usernames significantly narrows the scope of credential-stuffing attacks. This allows adversaries to optimize brute-force resources on verified accounts, bypassing account lockout mechanisms or avoiding detection by reducing noise.

Because the vulnerability requires the execution of tightly coordinated concurrent requests, it is highly sensitive to network latency, packet loss, and connection jitter. Consequently, exploitation is most practical over low-latency connections or when launched from within the same cloud region. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog, and there are currently no reports of exploitation in the wild.

Remediation and Detection Guidance

The primary remediation for this vulnerability is to upgrade Traefik deployments to version 3.7.13 or newer. This version contains the updated key-generation logic that isolates each username in its own singleflight execution thread.

If upgrading is not immediately possible, several effective workarounds can reduce the risk. Organizations can transition from Basic Authentication to Digest Authentication within their Traefik middleware configurations. Digest Authentication is structurally unaffected by this timing oracle. Alternatively, deploying rate-limiting policies at the network boundary or Web Application Firewall (WAF) layer can disrupt the rapid, concurrent connections required to perform timing analysis.

Security teams can verify vulnerability remediation by deploying the unit test pattern established in the Traefik codebase. This test isolates the password verification callback, runs concurrent checks for distinct invalid usernames, and verifies that two independent hashing computations are recorded. If only one hashing computation is observed under concurrent conditions, the system remains vulnerable.

Official Patches

Traefik LabsGitHub Security Advisory GHSA-8fcf-v89g-xpg6
Traefik LabsFix Commit ddc1bf4

Fix Analysis (1)

Technical Appendix

CVSS Score
6.3/ 10
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

Affected Systems

Traefik Proxy (versions v3.6.11 through v3.7.12)

Affected Versions Detail

Product
Affected Versions
Fixed Version
Traefik
Traefik Labs
>= 3.6.11, < 3.7.133.7.13
AttributeDetail
CWE IDCWE-208
Attack VectorNetwork
CVSS Score6.3
EPSS ScoreNot Rated
ImpactUsername Enumeration
Exploit StatusProof of Concept
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1589.002Gather Victim Identity Information: Email Addresses / Usernames
Reconnaissance
T1110Brute Force
Credential Access
CWE-208
Observable Timing Discrepancy

The system uses a verification mechanism whose execution duration varies based on the characteristics of the inputs, exposing a timing discrepancy.

Vulnerability Timeline

Official patch committed by maintainers
2026-09-01
Traefik version 3.7.13 released
2026-09-22
GitHub Advisory GHSA-8fcf-v89g-xpg6 published
2026-09-22

References & Sources

  • [1]Traefik Security Advisory
  • [2]Fix Commit
  • [3]Pull Request #13816
  • [4]Traefik v3.7.13 Release Notes
  • [5]CVE Record

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•15 minutes ago•CVE-2026-126297
7.5

CVE-2026-126297: Algorithmic Complexity Denial of Service in NLTK ConllCorpusReader

CVE-2026-126297 (GHSA-v8f3-6phw-6mh9) is an uncontrolled resource consumption and algorithmic complexity vulnerability in the Natural Language Toolkit (NLTK) prior to version 3.10.4. Located in the Semantic Role Labeling (SRL) parser within `nltk/corpus/reader/conll.py`, the flaw allows an attacker to trigger quadratic O(N^2) CPU processing overhead by providing crafted CoNLL-formatted corpus inputs containing decoy span columns or nested full-width verb spans. Applications parsing untrusted linguistic corpora can experience prolonged CPU exhaustion and application-level Denial of Service (DoS).

Amit Schendel
Amit Schendel
0 views•12 min read
•about 1 hour ago•CVE-2026-126298
7.5

CVE-2026-126298: Quadratic Algorithmic Complexity Denial of Service in NLTK Tree.chomsky_normal_form

CVE-2026-126298 (also tracked as GHSA-r53h-rw34-8h97) is an algorithmic complexity Denial of Service (DoS) vulnerability in the Natural Language Toolkit (NLTK) Python library affecting all versions prior to 3.10.4. The vulnerability resides in the nltk.tree.transforms.chomsky_normal_form function and its corresponding public method Tree.chomsky_normal_form(). When transforming a parse tree into Chomsky Normal Form using the default right-factoring strategy, the function repeatedly invokes list.pop(0) inside a loop iterating over all children of a node. In CPython, removing the initial element of a standard list requires an O(N) memory shift operation, causing the overall binarization algorithm to degrade to O(N^2) quadratic time complexity relative to the width of a node. Furthermore, converting horizontal node width into vertical tree depth bypasses initial parsing depth bounds, triggering subsequent stack exhaustion (RecursionError) when recursive methods traverse the mutated structure. Unauthenticated remote attackers who can submit bracketed tree strings to applications invoking this transformation can exhaust single-threaded CPU resources or induce unhandled application exceptions.

Alon Barad
Alon Barad
3 views•12 min read
•about 2 hours ago•CVE-2026-126299
7.5

CVE-2026-126299: Quadratic Algorithmic Complexity Denial of Service in NLTK CCG Lexicon Parser

An algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) before version 3.10.4 allows remote unauthenticated attackers to cause a denial of service via crafted Combinatory Categorial Grammar (CCG) lexicon strings. The parser in nltk.ccg.lexicon.fromstring performs repeated immutable string slicing, concatenation, and regex tail capturing, resulting in O(n^2) CPU consumption when processing wide, flat category definitions.

Alon Barad
Alon Barad
4 views•10 min read
•about 3 hours ago•CVE-2026-126295
7.1

CVE-2026-126295: Path Traversal and Unconfined File Access in NLTK BllipParser

CVE-2026-126295 (also tracked as GHSA-fg9w-wfp5-j933) is a path confinement bypass vulnerability in the Natural Language Toolkit (NLTK) affecting versions 3.10.0 prior to 3.10.4. The flaw resides in nltk/parse/bllip.py within the BllipParser class and its factory method BllipParser.from_unified_model_dir(). Unlike sibling tool wrappers in NLTK that enforce data-root confinement via the nltk.pathsec module, BllipParser passes caller-supplied filesystem paths directly into the third-party bllipparser native C extension without validation. When an application passes untrusted input as model paths or directories to BllipParser, an attacker can force the native extension to open arbitrary files on the local filesystem. This leads to information disclosure through parser diagnostic oracles, local model tampering via shared directories, and denial of service by hanging worker threads on blocking special files (such as FIFOs or device nodes) or exhausting memory via oversized files.

Amit Schendel
Amit Schendel
2 views•11 min read
•about 4 hours ago•CVE-2026-126300
5.3

CVE-2026-126300: Algorithmic Complexity Denial of Service in NLTK TreebankWordTokenizer.span_tokenize

CVE-2026-126300 (GHSA-ffr9-mgrr-wcvr) is an inefficient algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) Python library affecting versions 3.2.5 prior to 3.10.4. The flaw resides in the quote-restoration routine of TreebankWordTokenizer.span_tokenize and NLTKWordTokenizer.span_tokenize, where repeated calls to list.pop(0) over matched quote tokens introduce quadratic O(n^2) time complexity. An unauthenticated remote attacker who supplies input containing long sequences of double-quote characters can exhaust CPU resources and degrade service availability.

Amit Schendel
Amit Schendel
3 views•10 min read
•about 5 hours ago•GHSA-GPWC-27CW-RH9R
5.3

CVE-2026-126301: Quadratic CPU Exhaustion in NLTK LegalitySyllableTokenizer

The Natural Language Toolkit (NLTK) versions 3.6 through 3.10.3 contain an algorithmic complexity vulnerability in the LegalitySyllableTokenizer.tokenize method. When processing tokens composed of continuous runs of vowels, an unguarded string reversal and set membership lookup loop executes in quadratic time relative to the input token length. Remote attackers capable of submitting arbitrary text to applications utilizing this tokenizer can trigger sustained single-core CPU exhaustion and application-level denial of service.

Amit Schendel
Amit Schendel
5 views•10 min read