Description
Traefik is an open source HTTP reverse proxy and load balancer. From 3.6.11 until 3.6.25 and 3.7.10, Traefik's BasicAuth middleware in pkg/middlewares/auth/basic_auth.go deduplicates concurrent password checks with a singleflight key built from the delimiter-free concatenation of password and secret, allowing an attacker who has a valid credential and the stored hash to authenticate as an unconfigured username when headerField trusts the forwarded identity. This issue is fixed in 3.6.25 and 3.7.10.
Published: 2026-08-06
Score: 2.1 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Traefik’s BasicAuth middleware uses singleflight deduplication keyed by a concatenation of password and secret. A key collision in this mechanism allows an attacker who possesses a valid credential and the corresponding stored hash to authenticate as an unconfigured username when the middleware trusts the forwarded identity header. This flaw exemplifies an authentication mechanism bypass (CWE‑287) and an unsafe iteration/side‑effect weakness (CWE‑836), producing an authentication bypass that leads to identity spoofing.

Affected Systems

Traefik versions 3.6.11 through 3.6.24 (inclusive) and 3.7.0 through 3.7.9 (inclusive) are vulnerable. The issue is fixed in Traefik 3.6.25 and 3.7.10.

Risk and Exploitability

The CVSS score of 2.1 categorizes the vulnerability as low severity, and EPSS score is below 1%. It is not listed in the CISA KEV catalog. Exploitation requires an attacker to have a valid credential and its stored hash, and to target a configuration that trusts forwarded identity headers. Under those conditions, the attacker can impersonate another user, potentially gaining unauthorized access to resources behind the reverse proxy. While the overall risk is low, environments with strict authentication controls may still consider applying the fix promptly.

Generated by OpenCVE AI on August 13, 2026 at 11:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Traefik v3.6.25 or later, or v3.7.10 or later as soon as possible
  • If an upgrade cannot be performed immediately, disable or reconfigure BasicAuth to avoid trusting forwarded identity headers
  • Monitor authentication logs for anomalous access attempts and review BasicAuth configurations to ensure unconfigured usernames cannot be authenticated

Generated by OpenCVE AI on August 13, 2026 at 11:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-6765-c87h-8mrf Traefik: BasicAuth singleflight key collision allows authenticated identity spoofing
History

Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-836
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N'}

threat_severity

Low


Sat, 08 Aug 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 07 Aug 2026 02:45:00 +0000

Type Values Removed Values Added
First Time appeared Traefik
Traefik traefik
Vendors & Products Traefik
Traefik traefik

Thu, 06 Aug 2026 22:15:00 +0000

Type Values Removed Values Added
Description Traefik is an open source HTTP reverse proxy and load balancer. From 3.6.11 until 3.6.25 and 3.7.10, Traefik's BasicAuth middleware in pkg/middlewares/auth/basic_auth.go deduplicates concurrent password checks with a singleflight key built from the delimiter-free concatenation of password and secret, allowing an attacker who has a valid credential and the stored hash to authenticate as an unconfigured username when headerField trusts the forwarded identity. This issue is fixed in 3.6.25 and 3.7.10.
Title Traefik: BasicAuth singleflight key collision allows authenticated identity spoofing
Weaknesses CWE-287
References
Metrics cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-08T02:12:44.764Z

Reserved: 2026-08-05T18:14:42.065Z

Link: CVE-2026-71326

cve-icon Vulnrichment

Updated: 2026-08-08T02:12:39.846Z

cve-icon NVD

Status : Received

Published: 2026-08-06T22:18:29.650

Modified: 2026-08-08T03:16:47.317

Link: CVE-2026-71326

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-06T16:34:23Z

Links: CVE-2026-71326 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T11:15:05Z

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-836

    Use of Password Hash Instead of Password for Authentication