Traefik ForwardAuth identity leakage (GHSA-hrpp-p4fc-wwf8)
Traefik's ForwardAuth middleware sent authentication subrequests through a connection pool shared by every client. With a connection-bound scheme such as NTLM or SPNEGO/Kerberos “Negotiate”, one user's authenticated connection could be reused for an unrelated client, who then reached the backend as that user. Traefik rates it high severity (CVSS v4 7.0) and credits mosafariuk as the reporter.
By Mohammad Safari · Last updated
What went wrong
NTLM and Negotiate authenticate a TCP connection, not an individual HTTP request. ForwardAuth asks an authentication server, for example IIS with Windows Authentication, whether each request is allowed. Because those subrequests shared one pool across all clients of the middleware, an auth-server connection already authenticated by one user could carry the subrequest of a different client on a separate frontend connection.
That client, with no credentials of its own, received a successful authentication response bearing the victim's identity. Traefik forwarded the identity to the backend through authResponseHeaders, so the backend treated the request as the victim's. In Traefik v3.7 the same applied to external authentication requests issued for the Kubernetes Ingress NGINX provider's auth-url annotation.
Affected and fixed versions
| Module | Affected | Fixed in |
|---|---|---|
github.com/traefik/traefik/v2 | ≤ v2.11.59 | v2.11.60 |
github.com/traefik/traefik/v3 | v3.0.0 – v3.7.15 | v3.7.16 |
Traefik v3.0 to v3.6 are end-of-life and will not receive a fix on their own line; users on those versions must upgrade to v2.11.60 or v3.7.16.
How it was fixed
Earlier advisories had isolated connection-bound authentication on Traefik's backend proxy paths only. The fix applies the same per-frontend-connection isolation to the connections ForwardAuth opens to the authentication server, so an authenticated auth-server connection is never shared between clients.
Severity and credit
Severity, scoring and credit are as published by the vendor: high, CVSS v4 base score 7.0 (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N), with mosafariuk credited as reporter. No CVE identifier is listed on the advisory. Product risk should be assessed from the full advisory and current vendor guidance, not from this summary.
Source
Traefik security advisory GHSA-hrpp-p4fc-wwf8, published 21 October 2026.