Repository navigation
Immutable
release. Only release title and notes can be modified.
This release includes security improvements and other fixes.
v4 is a major release of Traefik Forward Auth, bringing new features and some breaking changes.
🚨 Migrating from v3: Please see the Migrating from v3 docs. The way you configure Traefik Forward Auth has been changed significantly.
Security
- Reject cross-site logout requests using
Sec-Fetch-SiteandOriginheaders - Use the last
X-Forwarded-Forentry as the client IP, since it's the only one Traefik adds itself and the earlier ones can be spoofed - Cap every IdP response (token, userinfo, discovery, JWKS) at 1MB
- Reject Tailscale Whois requests whose
X-Forwarded-Forhas more than one IP, so a proxy in front of Traefik can't get every visitor signed in as the proxy's node - Strip control characters and invalid UTF-8 from claim-based response headers, so a claim containing them can't make Traefik reject every request for that user
- Limit JWKS refreshes on unknown key ID to at most one every 30s, and switch JWKS fetching to
jwkfetch/v4 - Add
X-Content-Type-Options: nosniffto every response, and aContent-Security-Policyto the favicon route to prevent scripts from running
Changes
- Generate an SBOM and run
govulncheckin CI and release builds - Update Go compiler version
- Update third-party dependencies