Vulnerability GHSA-qr99-7898-vr7c

High Risk
HIGH RISK
CVSS Score: 8.8
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
7 months ago
March 27, 2026 at 08:35 PM UTC
Traefik Vulnerable to BasicAuth/DigestAuth Identity Spoofing via Non-Canonical headerField
v2.0.0-alpha1 - v2.11.41
v2.0.0-alpha1 - v2.11.41

Summary

Traefik Vulnerable to BasicAuth/DigestAuth Identity Spoofing via Non-Canonical headerField

Details

Summary

There is a potential vulnerability in Traefik's Basic and Digest authentication middlewares when headerField is configured with a non-canonical HTTP header name.

An authenticated attacker with valid credentials can inject the canonical version of the configured header to impersonate any identity to the backend. Because Traefik writes the authenticated username using a non-canonical map key, it creates a separate header entry rather than overwriting the attacker's canonical one — causing most backend frameworks to read the attacker-controlled value instead.

Patches

For more information

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

Timeline

Published
7 months ago
March 27, 2026 at 08:35 PM UTC
Fixed (v2.11.42)
7 months ago
March 26, 2026 at 08:48 AM UTC
Fixed (v3.6.12)
7 months ago
March 26, 2026 at 09:54 AM UTC
Fixed (v3.7.0-ea.3)
7 months ago
March 26, 2026 at 10:56 AM UTC
Last Modified
7 hours ago
November 04, 2026 at 03:30 AM UTC