| タイトル | Anthropic PBCのClaude Codeにおける複数の脆弱性 |
|---|---|
| 概要 | Claude Codeのバージョン2.1.63から2.1.83において、フォルダの信頼判定ロジックはgit worktreeのcommondirファイルを内容の検証なしに使用していました。攻撃者は、commondirファイルが被害者が以前に信頼したパスを指すように細工された悪意のあるリポジトリを作成することで、Claude Codeの信頼確認ダイアログを回避し、`.claude/settings.json`に定義されたフックを即座に実行させることが可能でした。悪用するには、被害者が悪意のあるリポジトリをクローンし、その中でClaude Codeを実行する必要があり、攻撃者は被害者が既に信頼しているパスを知っているか推測しなければなりません。この問題はバージョン2.1.84で修正されました。 |
| 想定される影響 | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月5日0:00 |
| 登録日 | 2026年5月14日10:19 |
| 最終更新日 | 2026年5月14日10:19 |
| CVSS3.0 : 重要 | |
| スコア | 8.8 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Anthropic PBC |
| Claude Code 2.1.63 以上 2.1.84 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年05月14日] 掲載 |
2026年5月14日10:19 |
| 概要 | In versions 2.1.63 through 2.1.83 of Claude Code, the folder trust determination logic used the git worktree commondir file without validating its contents. An attacker could craft a malicious repository with a commondir file pointing to a path the victim had previously trusted, causing Claude Code to bypass its trust confirmation dialog and immediately execute hooks defined in `.claude/settings.json`. Exploitation requires the victim to clone the malicious repository and run Claude Code within it, and the attacker must know or guess a path the victim had already trusted. This issue has been fixed in version 2.1.84. |
|---|---|
| 公表日 | 2026年5月6日6:16 |
| 登録日 | 2026年5月7日4:07 |
| 最終更新日 | 2026年5月13日1:21 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* | 2.1.63 | 2.1.84 | |||