发布日期: 2026-04-22
版本号: v2.11.43

Traefik v2.11.43 版本更新已发布,包含重要安全修复和错误修复。建议用户参考官方迁移指南进行升级。本次更新修复了5个已公开的安全漏洞,解决了中间件认证、请求处理及Kubernetes集成等方面的具体问题,包括Basic Auth、ForwardAuth、头部安全、URL清理及跨命名空间策略等。

更新内容 (中文)

重要提示: 请阅读迁移指南

已修复的CVE:

错误修复:

  • [中间件, 认证] 移除导致基础认证 notFoundSecret 为空的映射查找 (#12960 @rtribotte)
  • [中间件, 认证] 修复转发认证中间件中的 trustForwardHeader (#12994 @juliens)
  • [中间件, 认证] 清理并统一 ForwardAuth 日志 (#13013 @kevinpollet)
  • [中间件] 移除带下划线的不受信任的 X 头 (#12961 @rtribotte)
  • [中间件] 在去除前缀后清理请求 URL (#12990 @kevinpollet)
  • [k8s/crd, k8s] 在链式中间件 CRD 中遵循 allowCrossNamespace (#12976 @rtribotte)

更新内容 (原始)

Important: Please read the migration guide.

CVE fixed:

Bug fixes:

  • [middleware, authentication] Remove map lookup making the basic auth notFoundSecret empty (#12960 @rtribotte)
  • [middleware, authentication] Fix trustForwardHeader on forward auth middleware (#12994 @juliens)
  • [middleware, authentication] Cleanup and make ForwardAuth logs consistent (#13013 @kevinpollet)
  • [middleware] Remove untrusted X headers with underscores (#12961 @rtribotte)
  • [middleware] Sanitize the request URL after stripping the prefix (#12990 @kevinpollet)
  • [k8s/crd, k8s] Honor allowCrossNamespace with chain middleware CRD (#12976 @rtribotte)

下载链接