Guzzle 不正なホスト表記で host 判定を回避され内部ホストに到達されるおそれ
概要
Guzzle の cURL およびストリームハンドラーで、ホスト名の表記が正規化されずに扱われるため、アプリケーションのホスト判定を回避される場合があります。影響を受けるのは 8.0.1 未満と 7.15.2 未満の版で、修正版は 7.15.2 と 8.0.1 です。攻撃者が取得先 URI を操作できる環境では、速やかに修正版へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
guzzlehttp/guzzle という製品で、CVE-2026-69246 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに Host header のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。重要度は CVSS スコア 7.2/10 です。
対策: guzzlehttp/guzzle を 7.15.2 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「guzzlehttp/guzzle CVE-2026-69246」を検索してください。
CVE-2026-69246 (guzzlehttp/guzzle) — CWE-180 / CVSS v3 7.2
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
脆弱箇所: Host header / Host / CURLOPT_URL / CURLOPT_HTTPHEADER
修正バージョン: 7.15.2 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
guzzlehttp/guzzle に 脆弱性 (CWE-180) があります。攻撃者は Host header を経由して脆弱な処理に到達し、認証なしで悪用できます。
guzzlehttp/guzzle の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: Host header / Host / CURLOPT_URL / CURLOPT_HTTPHEADER。
重要度: 重要 (CVSS 7.2/10)。不正な操作・情報露出のリスクがあります。
7.15.2 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
grep -r 'guzzlehttp/guzzle' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
guzzlehttp/guzzleを grep し、稼働しているサービス・バージョンを把握する。 -
2
パッチ適用patch
Upgrade guzzlehttp/guzzle to 7.15.2ステージング環境で 7.15.2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| composerguzzlehttp/guzzle |
8.0.1 未満→ 8.0.1 |
8.0.1 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Debian DEBIAN-CVE-2026-69246 guzzle 修正版あり
- Ubuntu UBUNTU-CVE-2026-69246 guzzle この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Guzzle is an extensible PHP HTTP client. Prior to 7.15.2 and 8.0.1, Guzzle gives a transport the request URI as text and supplies the Host header separately. The cURL handlers set CURLOPT_URL to the URI exactly as written and push that Host into CURLOPT_HTTPHEADER; StreamHandler does the same through fopen(). libcurl then parses the authority itself, percent-decoding it and, on an IDN-capable build, applying IDNA mapping, and uses the result to resolve, connect, name the TLS peer and address a proxy CONNECT, while the supplied Host suppresses the aligned one libcurl would have generated. For a URI host written as 127.0.0.%31, filter_var() rejects the host as an IP literal, yet libcurl decodes it to 127.0.0.1 and reaches loopback with no DNS lookup while the server receives Host: 127.0.0.%31. An attacker who influences a fetched URI can therefore reach a host the application's checks excluded and read whatever the host exposes of the response. The same divergence moves Guzzle's own decisions onto a spelling the transport does not use: no_proxy selects proxy routing from the literal host, and RedirectMiddleware decides from it whether to strip Authorization and Cookie. Exploitation requires the application to build a request URI from untrusted input and to make a host decision before handing it to Guzzle. This issue is fixed in versions 7.15.2 and 8.0.1.
出典: GitHub Security Advisories (Global) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com