Skip to content

v4.16.0

Latest

Choose a tag to compare

@github-actions github-actions released this 13 Nov 05:32
Immutable release. Only release title and notes can be modified.
v4.16.0
251866e

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-Site and Origin headers
  • Use the last X-Forwarded-For entry 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-For has 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: nosniff to every response, and a Content-Security-Policy to the favicon route to prevent scripts from running

Changes

  • Generate an SBOM and run govulncheck in CI and release builds
  • Update Go compiler version
  • Update third-party dependencies