Traefik critical authorization bypass in pre-2.11.62 and pre-3.7.18 releases (CVE-2026-137481)

Ethernet cables plugged into a network switch

Traefik versions before 2.11.62, 3.7.18 and 3.8.0-rc.1 contain a critical authorization bypass that can be triggered over the network without authentication. The flaw scores 9.3 on the CVSS scale, making it a high-priority issue. Administrators should upgrade to the patched releases as soon as possible.

What happened

The vulnerability stems from the sanitizePath entry point option, which resolves normal dot-segments but leaves dot-segments that carry path parameters (e.g., "/..;x/") untouched. When such a path reaches Traefik, the router and its middlewares are applied to the unresolved path, and the request is forwarded unchanged to the backend. If the backend strips path parameters, an attacker can craft a request like "/public/..;x/admin" to bypass authentication or authorization middleware and reach protected resources.

Who is affected

  • github.com/traefik/traefik/v2: <= v2.11.61, fixed in v2.11.62
  • github.com/traefik/traefik/v3: >= v3.0.0, <= v3.7.17, fixed in v3.7.18
  • github.com/traefik/traefik/v3: >= v3.8.0-rc.1, <= v3.8.0-rc.1, fixed in v3.8.0-rc.2

How serious it is

Any unauthenticated remote attacker can exploit this issue because it requires no privileges, no user interaction and can be carried out over the network. Environments that share a backend service between an unauthenticated router and a router protected by authentication or authorization middleware are at risk of unauthorized access to protected endpoints.

CVSS 9.3, critical, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N.

How to fix it

Traefik v2.11.62, v3.7.18 and v3.8.0-rc.2 resolve the problematic dot-segments before routing when sanitizePath is enabled. Users should upgrade to these versions. Reference the vendor advisory for the exact release links.

Check your version

traefik version

References

This article was written automatically from NVD and GitHub advisory data and translated by machine. Check the vendor advisory before you act.

Ethernet cables plugged into a network switch

Các phiên bản Traefik trước 2.11.62, 3.7.18 và 3.8.0-rc.1 có một lỗ hổng bypass ủy quyền nghiêm trọng có thể được kích hoạt qua mạng mà không cần xác thực. Lỗi này đạt điểm 9.3 trên thang CVSS, cho thấy mức độ ưu tiên cao. Các quản trị viên nên nâng cấp lên các phiên bản đã được vá càng sớm càng tốt.

Điều gì đã xảy ra

Lỗ hổng xuất phát từ tùy chọn điểm nhập sanitizePath, vốn giải quyết các đoạn chấm thông thường nhưng để lại các đoạn chấm có tham số đường dẫn (ví dụ, "/..;x/") không thay đổi. Khi một đường dẫn như vậy tới Traefik, bộ định tuyến và các middleware của nó được áp dụng cho đường dẫn chưa được giải quyết, và yêu cầu sẽ được chuyển tiếp nguyên vẹn tới backend. Nếu backend loại bỏ các tham số đường dẫn, kẻ tấn công có thể tạo một yêu cầu như "/public/..;x/admin" để bỏ qua middleware xác thực hoặc ủy quyền và truy cập vào các tài nguyên được bảo vệ.

Ai bị ảnh hưởng

  • github.com/traefik/traefik/v2: <= v2.11.61, đã được sửa trong v2.11.62
  • github.com/traefik/traefik/v3: >= v3.0.0, <= v3.7.17, đã được sửa trong v3.7.18
  • github.com/traefik/traefik/v3: >= v3.8.0-rc.1, <= v3.8.0-rc.1, đã được sửa trong v3.8.0-rc.2

Mức độ nghiêm trọng

Bất kỳ kẻ tấn công từ xa nào không cần xác thực đều có thể khai thác lỗ hổng này vì không yêu cầu quyền, không cần tương tác của người dùng và có thể thực hiện qua mạng. Các môi trường chia sẻ dịch vụ backend giữa một bộ định tuyến không xác thực và một bộ định tuyến được bảo vệ bằng middleware xác thực hoặc ủy quyền có nguy cơ bị truy cập trái phép vào các endpoint được bảo vệ.

CVSS 9.3, nghiêm trọng, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N.

Cách khắc phục

Traefik v2.11.62, v3.7.18 và v3.8.0-rc.2 giải quyết các đoạn chấm gây vấn đề trước khi định tuyến khi sanitizePath được bật. Người dùng nên nâng cấp lên các phiên bản này. Tham khảo thông báo của nhà cung cấp để biết liên kết tới các bản phát hành chính xác.

Kiểm tra phiên bản của bạn

traefik version

Tham khảo

Bài viết này được tạo tự động từ dữ liệu NVD và thông báo bảo mật của GitHub và được dịch bằng máy. Hãy kiểm tra thông báo của nhà cung cấp trước khi thực hiện hành động.

Ethernet cables plugged into a network switch

Traefik-Versionen vor 2.11.62, 3.7.18 und 3.8.0-rc.1 enthalten eine kritische Autorisierungs-Umgehung, die über das Netzwerk ohne Authentifizierung ausgelöst werden kann. Der Fehler hat einen CVSS-Score von 9,3 und ist damit ein hochprioritäres Problem. Administratoren sollten so schnell wie möglich auf die gepatchten Releases aktualisieren.

Was ist passiert

Die Schwachstelle entsteht durch die Option sanitizePath, die normale Punkt-Segmente auflöst, jedoch Punkt-Segmente mit Pfad-Parametern (z. B. "/..;x/") unbeeinflusst lässt. Wenn ein solcher Pfad Traefik erreicht, werden Router und Middlewares auf den nicht aufgelösten Pfad angewendet und die Anfrage unverändert an das Backend weitergeleitet. Entfernt das Backend Pfad-Parameter, kann ein Angreifer eine Anfrage wie "/public/..;x/admin" erzeugen, um Authentifizierungs- oder Autorisierungs-Middlewares zu umgehen und geschützte Ressourcen zu erreichen.

Wer ist betroffen

  • github.com/traefik/traefik/v2: <= v2.11.61, fixed in v2.11.62
  • github.com/traefik/traefik/v3: >= v3.0.0, <= v3.7.17, fixed in v3.7.18
  • github.com/traefik/traefik/v3: >= v3.8.0-rc.1, <= v3.8.0-rc.1, fixed in v3.8.0-rc.2

Wie ernst ist es

Jeder nicht authentifizierte Remote-Angreifer kann dieses Problem ausnutzen, da keine Privilegien, keine Nutzerinteraktion und keine lokalen Zugriffe erforderlich sind. Umgebungen, die einen Backend-Dienst zwischen einem nicht authentifizierten Router und einem durch Authentifizierungs- oder Autorisierungs-Middleware geschützten Router teilen, sind Gefahr, dass unberechtigte Zugriffe auf geschützte Endpunkte erfolgen.

CVSS 9.3, kritisch, Vektor CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N.

Wie man es behebt

Traefik v2.11.62, v3.7.18 und v3.8.0-rc.2 lösen die problematischen Punkt-Segmente vor dem Routing, wenn sanitizePath aktiviert ist. Benutzer sollten auf diese Versionen aktualisieren. Siehe den Hersteller-Advisory für die genauen Release-Links.

Version überprüfen

traefik version

Referenzen

Dieser Artikel wurde automatisch aus NVD- und GitHub-Advisory-Daten erstellt und maschinell übersetzt. Prüfen Sie den Hersteller-Advisory, bevor Sie Maßnahmen ergreifen.

0 nhận xét:

Đăng nhận xét