本文へ移動
English version →
高 8.8

Traefikで認証済み攻撃者によるなりすましが可能になる脆弱性

CVE-2026-33433 SecPulse初出

概要

Traefikで、headerFieldに非正規形式のHTTPヘッダー名を設定していると、認証済みの攻撃者が正規形式のヘッダーを自ら送り込み、バックエンドに任意のユーザーになりすませる脆弱性です。影響を受けるのは2.11.42未満、3.6.11未満、3.7.0-ea.3未満のバージョンです。修正版の2.11.42、3.6.11、3.7.0-ea.3へ更新してください。

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

Traefik という製品で、CVE-2026-33433 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに headerField のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 8.8/10 です。
対策: ベンダー公式の修正版に更新してください。
心配なら、システム担当者や製品の公式サイトで「Traefik CVE-2026-33433」を検索してください。

CVE-2026-33433 (Traefik) — CWE-290 / CVSS v3 8.8
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 被害者操作不要
脆弱箇所: headerField
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

Traefik に 脆弱性 (CWE-290) があります。攻撃者は headerField を経由して脆弱な処理に到達できます。

影響範囲

Traefik の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: headerField。

重要度

重要度: 重要 (CVSS 8.8/10)。悪用されるとシステム全体を乗っ取られる可能性があります。

修正方法

ベンダー公式アドバイザリの修正版に更新してください。

暫定回避

修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。

検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定identify
    grep -r 'Traefik' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で Traefik を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    事後検証verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

影響パッケージ

パッケージ影響を受ける版 → 修正版
gogithub.com/traefik/traefik/v2
2.11.42 未満→ 2.11.42
gogithub.com/traefik/traefik/v3
3.7.0-ea.1 以上 3.7.0-ea.3 未満→ 3.7.0-ea.3
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

Summary

There is a potential vulnerability in Traefik's Basic and Digest authentication middlewares when headerField is configured with a non-canonical HTTP header name.

An authenticated attacker with valid credentials can inject the canonical version of the configured header to impersonate any identity to the backend. Because Traefik writes the authenticated username using a non-canonical map key, it creates a separate header entry rather than overwriting the attacker's canonical one — causing most backend frameworks to read the attacker-controlled value instead.

Patches

For more information

If there are any questions or comments about this advisory, please open an issue.


Original Description

Summary

When headerField is configured with a non-canonical HTTP header name (e.g., x-auth-user instead of X-Auth-User), an authenticated attacker can inject a canonical version of that header to impersonate any identity to the backend. The backend receives two header entries — the attacker-injected canonical one is read first, overriding Traefik's non-canonical write.

Tested on Traefik v3.6.10.

Details

At pkg/middlewares/auth/basic_auth.go:92, the authenticated username is written using direct map assignment:

req.Header[b.headerField] = []string{user}

Go's http.Header map is keyed by canonical names (e.g., X-Auth-User). Direct assignment with a non-canonical key (`x-auth-us…

出典: NIST National Vulnerability Database NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく