CVE-2026-54763

Traefik: headerField underscore-variant identity spoofing in BasicAuth / DigestAuth / ForwardAuth

Published Jul 6, 2026 CVSS 4.0 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
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

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Traefik
Traefik traefik
Vendors & Products Traefik
Traefik traefik
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'}

Weaknesses
  • CWE-178

    Improper Handling of Case Sensitivity

  • CWE-290

    Authentication Bypass by Spoofing

  • CWE-345

    Insufficient Verification of Data Authenticity

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 8, 2026, 7:42 PM
Reserved
Jun 15, 2026, 11:12 PM
Status
Analyzed
Published
Jul 6, 2026, 9:16 PM
Modified
Jul 8, 2026, 8:16 PM
Severity
Important
Public date
Jul 6, 2026, 8:33 PM