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 strip canonical‑cased spoofed identity headers before inserting their own values but ignore underscore‑variant header names. Many backend services normalize underscore and dash forms identically, so an attacker who can reach a protected route can inject an underscore‑variant header that passes through Traefik’s filtering. The header arrives at the backend in place of or alongside the intended authentication value, enabling the attacker to spoof user identity or modify the authorization context. The flaw aligns with CWE‑178, CWE‑290, and CWE‑345 and can lead to unauthorized access to protected resources.

Affected Systems

The vulnerability affects all Traefik releases prior to v2.11.51, v3.6.22,Auth, or ForwardAuth middlewares are used. Deployments that rely on these authentication components are vulnerable until the corresponding versions are applied.

Risk and Exploitability

With a CVSS score of 7.8 the flaw is considered high severity. The EPSS is below 1 %, indicating a low likelihood of exploitation in the wild, and the vulnerability is not listing requires only the ability to send an HTTP request to a protected route;. The attacker can inject an underscore‑variant header directly into the request, resulting in identity spoofing or unauthorized authorization on downstream services that treat underscore and dash header names equivalently.

Generated by OpenCVE AI on July 26, 2026 at 20:05 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.
  • If an immediate upgrade is not or strip underscore‑variant authentication headers before they reach the backend.
  • Implement a WAF or equivalent traffic filter to block or sanitize underscore‑variant headers on paths protected by the authentication middlewares.

Generated by OpenCVE AI on July 26, 2026 at 20:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

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

No data.

cve-icon Redhat

Severity : Important

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

Links: CVE-2026-54763 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T20:15:04Z

Weaknesses
  • CWE-178

    Improper Handling of Case Sensitivity

  • CWE-290

    Authentication Bypass by Spoofing

  • CWE-345

    Insufficient Verification of Data Authenticity