User Impersonation Affecting github.com/traefik/traefik/v2/pkg/middlewares/auth package, versions <2.11.42


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.47% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMTRAEFIKTRAEFIKV2PKGMIDDLEWARESAUTH-15812243
  • published29 Mar 2026
  • disclosed27 Mar 2026
  • credit0xVijay

Introduced: 27 Mar 2026

CVE-2026-33433  (opens in a new tab)
CWE-290  (opens in a new tab)

How to fix?

Upgrade github.com/traefik/traefik/v2/pkg/middlewares/auth to version 2.11.42 or higher.

Overview

github.com/traefik/traefik/v2/pkg/middlewares/auth is a Cloud Native Application Proxy.

Affected versions of this package are vulnerable to User Impersonation through the basicAuth and digestAuth middleware headerField handling in pkg/middlewares/auth/basic_auth.go and pkg/middlewares/auth/digest_auth.go. An attacker can impersonate an arbitrary user identity to backend services by sending a canonical headerField header value alongside valid credentials.

Notes

  • The attacker must already authenticate successfully to Traefik with valid Basic or Digest credentials.
  • The vulnerable behavior depends on backend applications trusting the configured headerField header for identity or authorization decisions.

CVSS Base Scores

version 4.0
version 3.1