| タイトル | Anthropic PBCのClaude Codeにおける複数の脆弱性 |
|---|---|
| 概要 | Claude Codeはエージェント型のコーディングツールです。バージョン0.2.54から2.1.163までの間、ホスト名huggingface.coがWebFetchツールのベアホスト名として事前承認されていました。そのため、そのドメイン上の任意のパス(攻撃者が制御するモデルリポジトリを含みます)が、許可プロンプトや--allowedTools制限の対象にならずに自動的に承認されていました。攻撃者が信頼できないコンテンツをClaude Codeのコンテキストに注入できる場合、攻撃者はWebFetchリクエストを自身が制御するリポジトリファイル(例:/resolve/main/config.json)に対して発行させることができ、HuggingFaceはこれをサーバー側でのダウンロードとしてカウントします。これにより、Claudeがアクセス可能なファイル、環境変数、またはコマンド出力などのデータをエンコードして密かに漏洩させるためのアウトオブバンドチャネルを作成する可能性があります。この脆弱性を確実に悪用するには、信頼できないコンテンツをClaude Codeのコンテキストウィンドウに追加できる能力が必要でした。この脆弱性はバージョン2.1.163で修正されました。 |
| 想定される影響 | ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年6月23日0:00 |
| 登録日 | 2026年6月30日11:24 |
| 最終更新日 | 2026年6月30日11:24 |
| CVSS3.0 : 緊急 | |
| スコア | 9.1 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Anthropic PBC |
| Claude Code 0.2.54 以上 2.1.163 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月30日] 掲載 |
2026年6月30日11:24 |
| 概要 | Claude Code is an agentic coding tool. From 0.2.54 until 2.1.163, because the hostname huggingface.co was pre-approved as a bare hostname for the WebFetch tool, any path on that domain—including attacker-controlled model repositories—was auto-approved without a permission prompt or being subject to --allowedTools restrictions. An attacker able to inject untrusted content into a Claude Code context could direct it to issue WebFetch requests against attacker-controlled repository files (e.g. /resolve/main/config.json), which HuggingFace counts as downloads server-side, creating a covert out-of-band channel for encoding and exfiltrating data Claude can access such as files, environment variables, or command output. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window. This vulnerability is fixed in 2.1.163. |
|---|---|
| 公表日 | 2026年6月24日3:18 |
| 登録日 | 2026年6月27日4:15 |
| 最終更新日 | 2026年6月24日4:32 |