Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/traefik/traefik/v3
  4. ›
  5. CVE-2026-33433

CVE-2026-33433: Traefik Vulnerable to BasicAuth/DigestAuth Identity Spoofing via Non-Canonical headerField

March 27, 2026

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.

When headerField is configured with a non-canonical HTTP header name (e.g., x-auth-user instead of X-Auth-User), an authenticated attacker can inject a canonical version of that header to impersonate any identity to the backend. The backend receives two header entries — the attacker-injected canonical one is read first, overriding Traefik’s non-canonical write.

Tested on Traefik v3.6.10.

References

  • github.com/advisories/GHSA-qr99-7898-vr7c
  • github.com/traefik/traefik
  • github.com/traefik/traefik/releases/tag/v2.11.42
  • github.com/traefik/traefik/releases/tag/v3.6.11
  • github.com/traefik/traefik/releases/tag/v3.7.0-ea.3
  • github.com/traefik/traefik/security/advisories/GHSA-qr99-7898-vr7c
  • nvd.nist.gov/vuln/detail/CVE-2026-33433

Code Behaviors & Features

Detect and mitigate CVE-2026-33433 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0-beta1 before 3.6.12, all versions starting from 3.7.0-ea.1 before 3.7.0-ea.3

Fixed versions

  • 3.6.12
  • 3.7.0-ea.3

Solution

Upgrade to versions 3.6.12, 3.7.0-ea.3 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-290: Authentication Bypass by Spoofing

Source file

go/github.com/traefik/traefik/v3/CVE-2026-33433.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 16 May 2026 12:20:27 +0000.