Description
Traefik is an HTTP reverse proxy and load balancer. Prior to v2.11.51, v3.6.22, and v3.7.6, Traefik's BasicAuth, DigestAuth, and ForwardAuth middlewares strip canonical-cased spoofed identity headers before writing Traefik's own value, but do not account for underscore-variant header names, which many backends normalize identically to dashed forms. An attacker able to reach a protected route can inject an underscore-variant header that survives Traefik's stripping and reaches the backend alongside, or on the unauthenticated ForwardAuth authResponseHeaders path instead of, the value Traefik intended to set, spoofing identity or authorization context. This issue is fixed in versions v2.11.51, v3.6.22, and v3.7.6.
Published: 2026-07-06
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Traefik’s BasicAuth, DigestAuth, and ForwardAuth middlewares remove canonical-cased spoofed identity headers before setting their own values, but they ignore headers that use underscore variants of the name. Many internal backends normalize underscore and dash forms to the same header, so an attacker who can reach a protected route can inject an underscore-variant header that survives the middleware’s filtering. The injected header then arrives at the backend in place of or alongside the intended authentication value, allowing the attacker to spoof the authenticated user or modify the authorization context. This flaw is compliant with CWE-178, CWE-290, and CWE-345.

Affected Systems

All Traefik releases prior to v2.11.51, v3.6.22, and v3.7.6 that use BasicAuth, DigestAuth, or ForwardAuth middlewares are affected. Deployments relying on these authentication components are vulnerable until the corresponding fixed versions are applied and the authentication path is protected from underscore-variant headers.

Risk and Exploitability

With a CVSS score of 7.8 the vulnerability is rated high severity, but its EPSS score of less than 1 % indicates a low likelihood of exploitation in the wild. It is not listed in CISA KEV, and the attack requires the ability to send a crafted HTTP request to a route protected by one of the affected middlewares. Successful exploitation results in identity spoofing or unauthorized authorization on downstream services that treat underscore and dash header names equivalently.

Generated by OpenCVE AI on August 1, 2026 at 18:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Traefik to a fixed release (v2.11.51, v3.6.22, or v3.7.6) as soon as possible.
  • Configure Traefik or the upstream application to strip any underscore-variant authentication headers before forwarding them to the backend.
  • Deploy a WAF or equivalent traffic filter to detect and block underscore-variant headers on paths protected by the BasicAuth, DigestAuth, or ForwardAuth middlewares.

Generated by OpenCVE AI on August 1, 2026 at 18:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-x677-9fxg-v5c5 Traefik: Incomplete fix for CVE-2026-33433 + CVE-2026-39858 cross-cohort: headerField underscore-variant identity spoofing in BasicAuth / DigestAuth / ForwardAuth
History

Sat, 25 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Important


Wed, 08 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 07 Jul 2026 00:15:00 +0000

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

Mon, 06 Jul 2026 21:15:00 +0000

Type Values Removed Values Added
Description Traefik is an HTTP reverse proxy and load balancer. Prior to v2.11.51, v3.6.22, and v3.7.6, Traefik's BasicAuth, DigestAuth, and ForwardAuth middlewares strip canonical-cased spoofed identity headers before writing Traefik's own value, but do not account for underscore-variant header names, which many backends normalize identically to dashed forms. An attacker able to reach a protected route can inject an underscore-variant header that survives Traefik's stripping and reaches the backend alongside, or on the unauthenticated ForwardAuth authResponseHeaders path instead of, the value Traefik intended to set, spoofing identity or authorization context. This issue is fixed in versions v2.11.51, v3.6.22, and v3.7.6.
Title Traefik: headerField underscore-variant identity spoofing in BasicAuth / DigestAuth / ForwardAuth
Weaknesses CWE-178
CWE-290
CWE-345
References
Metrics cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-08T19:42:06.759Z

Reserved: 2026-06-15T23:12:41.966Z

Link: CVE-2026-54763

cve-icon Vulnrichment

Updated: 2026-07-08T17:13:32.820Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-06T21:16:56.787

Modified: 2026-07-08T20:16:52.803

Link: CVE-2026-54763

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-06T20:33:36Z

Links: CVE-2026-54763 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T18:15:04Z

Weaknesses
  • CWE-178

    Improper Handling of Case Sensitivity

  • CWE-290

    Authentication Bypass by Spoofing

  • CWE-345

    Insufficient Verification of Data Authenticity