製品・ソフトウェアに関する情報
Anthropic PBCのClaude Codeにおける複数の脆弱性
Title Anthropic PBCのClaude Codeにおける複数の脆弱性
Summary

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で修正されました。

Possible impacts ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date June 23, 2026, midnight
Registration Date June 30, 2026, 11:24 a.m.
Last Update June 30, 2026, 11:24 a.m.
CVSS3.0 : 緊急
Score 9.1
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected System
Anthropic PBC
Claude Code 0.2.54 以上 2.1.163 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年06月30日]
  掲載
June 30, 2026, 11:24 a.m.

NVD Vulnerability Information
CVE-2026-54316
Summary

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.

Publication Date June 24, 2026, 3:18 a.m.
Registration Date June 27, 2026, 4:15 a.m.
Last Update June 24, 2026, 4:32 a.m.
Related information, measures and tools
Common Vulnerabilities List