Skip to main content

Traefik EUVDEUVD-2026-26433

| CVE-2026-41263 MEDIUM
Observable Timing Discrepancy (CWE-208)
2026-04-24 https://github.com/traefik/traefik GHSA-6x2q-h3cr-8j2h
6.3
CVSS 4.0 · Vendor: https://github.com/traefik/traefik
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker discovers Traefik BasicAuth endpoint
  2. Delivery
    Measures response times for valid usernames
  3. Exploit
    Observes 130x timing difference (62ms vs 0.5ms)
  4. Execution
    Enumerates accounts via timing oracle
  5. Persist
    Compiles list of valid usernames
  6. Impact
    Executes credential stuffing or brute-force attack

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication Timing attack prevention
Exploitation Conditions

The vulnerability requires that Traefik's BasicAuth middleware is enabled on at least one route or service. It affects only authentication requests handled by the BasicAuth middleware; other authentication mechanisms (OAuth2, forward-auth, mTLS) are unaffected. No special configuration is required - the bug is present in the default BasicAuth implementation. The attacker must be able to send HTTP requests to a Traefik endpoint protected by BasicAuth and measure response times with sufficient precision (millisecond granularity is sufficient given the 130x delta; sub-microsecond precision is not required). The vulnerability is not mitigated by HTTPS, port obscuration, or rate limiting, as the timing difference is large enough to survive network jitter and the attacker can send requests at a reduced rate to avoid trigger-based rate limits. The vulnerability does NOT require user interaction, special privileges, or a pre-existing account.

Impact

This vulnerability presents a moderate to high real-world risk despite missing CVSS scoring. The attack requires only network access and no authentication (unauthenticated, remotely exploitable, low complexity), making it accessible to any attacker with network visibility to the Traefik instance. The timing oracle is confirmed by reproducible proof-of-concept evidence with a 130x median response-time ratio and 8/8 classification accuracy in testing, plus in-tree Go tests showing 12,746x timing differences in direct function calls. The vulnerability is NOT actively exploited in the wild per CISA KEV status (not listed), but public proof-of-concept code exists in the GitHub advisory, meaning exploitation is straightforward once a user discovers the timing difference. The practical impact is account enumeration, which alone may not warrant critical severity but frequently serves as the initial reconnaissance phase in multi-stage attacks targeting authentication systems. Organizations running Traefik with BasicAuth as their sole authentication layer should prioritize patching. The vulnerability is a regression - it is a failure of a prior patch meant to fix CVE-2026-32595 - which increases organizational concern and remediation urgency. Absence of CVSS vector prevents formal severity calculation, but AV:N/AC:L/PR:N/UI:N (implied from description and POC) with information disclosure scope would suggest CVSS 7.5 High in standard frameworks.

Exploit ScenarioDerived

An attacker performs a network timing attack against a Traefik instance exposing BasicAuth-protected endpoints. By sending invalid authentication requests for candidate usernames and measuring HTTP response times, the attacker observes that requests for real usernames (e.g., 'admin') return after ~62ms, while requests for non-existent usernames return in ~0.5ms. The attacker iterates through a wordlist of common usernames, timing each request, and compiles a list of valid accounts. This enumerated list is then used for credential stuffing, brute-force attacks, or social engineering, significantly reducing the attacker's search space and increasing compromise probability.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 24, 2026

Traefik's BasicAuth middleware contains a timing side-channel vulnerability that allows attackers to enumerate valid usernames through response-time analysis. A map key/value confusion in the constant-time comparison fallback causes the notFoundSecret variable to always resolve to an empty string, causing authentication checks against non-existent users to complete in microseconds (~0.48ms) instead of performing full bcrypt evaluation (~62ms), creating a 130x timing oracle. Attackers can distinguish existing users from non-existent ones by measuring HTTP response times, enabling account enumeration without credentials.

RemediationAI

Apply vendor-released patches immediately: upgrade to Traefik v2.11.43 or later for v2.x users, v3.6.14 or later for v3.6.x users, or v3.7.0-rc.2 or later (or subsequent stable v3.7 release) for v3.7 users. Patches are available at https://github.com/traefik/traefik/releases/tag/v2.11.43, https://github.com/traefik/traefik/releases/tag/v3.6.14, and https://github.com/traefik/traefik/releases/tag/v3.7.0-rc.2. As an interim compensating control, disable BasicAuth middleware in Traefik configuration and replace it with a dedicated identity provider or WAF-layer authentication (such as OAuth2 Proxy or external SSO integration via forward-auth middleware), though this requires application redesign and may impact availability during transition. Alternatively, restrict network access to Traefik's exposed endpoints to trusted IPs only via firewall rules or Traefik's IP allowlist middleware, reducing the attacker population but not eliminating the timing oracle for authorized users. The timing vulnerability cannot be safely mitigated without code changes, as no configuration option disables the affected BasicAuth logic.

Affected VersionsENISA

traefik < 2.11.43
traefik 3.7.0-ea.1, < 3.7.0-rc.2
traefik 3.0.0-beta1, < 3.6.14

Affected Packages

go github.com/traefik/traefik no fix
go github.com/traefik/traefik/v2 fix: 2.11.43
go github.com/traefik/traefik/v3 fix: 3.6.14, 3.7.0-rc.2
euvd traefik fix: 2.11.43
euvd traefik_3_0_0_beta1 fix: 3.6.14
euvd traefik_3_7_0_ea_1 fix: 3.7.0-rc.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 6 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability stems from a failed patch to CVE-2026-32595 (the prior timing vulnerability) in Traefik's BasicAuth middleware. Line 49 of basic_auth.go uses incorrect map indexing syntax users[slices.Collect(maps.Values(users))[0]], which attempts to use a bcrypt hash (the map value) as a username key (map lookup), returning an empty string instead of a valid fallback secret. During authentication, the middleware calls goauth.CheckSecret(password, notFoundSecret) where notFoundSecret is empty. The go-http-auth library's CheckSecret function detects the empty string, skips bcrypt validation, and returns instantly via compareMD5HashAndPassword, which immediately fails when parsing an empty string via bytes.SplitN. This short-circuits the intended constant-time comparison that should consume ~60ms of bcrypt CPU, leaving a measurable timing delta between valid and invalid usernames. The root cause is CWE-208 (Observable Timing Discrepancy) combined with a logic error in the patch implementation.

Know when Python 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

Vendor (https://github.com/traefik/traefik) PRIMARY 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
SUSE 3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (https://github.com/traefik/traefik).

CVSS VectorVendor: https://github.com/traefik/traefik

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Patch released
May 01, 2026 - 17:37 nvd
Patch available
Patch available
Apr 30, 2026 - 22:02 EUVD
CVSS changed
Apr 30, 2026 - 21:22 NVD
6.3 (MEDIUM)
CVE Published
Apr 24, 2026 - 20:36 nvd
MEDIUM 6.3

DescriptionCVE.org

Summary

There is a timing side-channel vulnerability in Traefik's BasicAuth middleware that allows an attacker to enumerate valid usernames through response-time differences.

The variable intended to hold a constant-time fallback secret always resolves to an empty string, causing the constant-time comparison to short-circuit in microseconds rather than performing a full bcrypt evaluation. This restores the original timing oracle and makes it possible to distinguish existing users from non-existing ones by measuring authentication response times.

Patches

  • https://github.com/traefik/traefik/releases/tag/v2.11.43
  • https://github.com/traefik/traefik/releases/tag/v3.6.14
  • https://github.com/traefik/traefik/releases/tag/v3.7.0-rc.2

For more information

If there are any questions or comments about this advisory, please open an issue.

<details> <summary>Original Description</summary>

BasicAuth Timing Regression: CVE-2026-32595 Fix Is a No-Op Due to Map Key/Value Confusion

TL;DR

The patch for CVE-2026-32595 is a no-op. Line 49 of basic_auth.go has a map key/value confusion that makes notFoundSecret always "". The "constant time" fallback calls goauth.CheckSecret(password, ""), which fast-fails in ~1us instead of running bcrypt (~60ms).

Evidence (HEAD 786f7192e, 2026-04-09)

Black-box PoC against live traefik binary on port 28080:

bucketnmedianmin
existing user (wrong pw)24062.85 ms57.54 ms
nonexistent user (wrong pw)4000.48 ms0.35 ms

Median ratio: 130.4x. Classification: 8/8 correct.

Go in-tree test: goauth.CheckSecret direct ratio 12,746x.

Root cause (4-step trace)

  1. basic_auth.go:49: users[slices.Collect(maps.Values(users))[0]] -- looks

up a hash as a username key, returns "".

  1. basic_auth.go:119-120: calls goauth.CheckSecret(password, "").
  2. go-http-auth/basic.go:87: empty string matches no prefix, falls to default

compareMD5HashAndPassword.

  1. basic.go:107-109: bytes.SplitN("", "$", 4) returns length 1, function

returns instantly.

Files

  • poc/exploit.py -- black-box Python timing oracle
  • poc/basic_auth_timing_regression_test.go -- Go in-tree test
  • poc/traefik.yml + poc/dynamic.yml -- traefik config
  • poc/live_http_poc_output_head.txt -- verbatim PoC output on HEAD

Koda Reef

</details>

---

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

SUSE

Severity: Low

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy