Anthropic PBCのClaude Codeにおける複数の脆弱性
| Title |
Anthropic PBCのClaude Codeにおける複数の脆弱性
|
| Summary |
Claude Codeのバージョン2.1.63から2.1.83において、フォルダの信頼判定ロジックはgit worktreeのcommondirファイルを内容の検証なしに使用していました。攻撃者は、commondirファイルが被害者が以前に信頼したパスを指すように細工された悪意のあるリポジトリを作成することで、Claude Codeの信頼確認ダイアログを回避し、`.claude/settings.json`に定義されたフックを即座に実行させることが可能でした。悪用するには、被害者が悪意のあるリポジトリをクローンし、その中でClaude Codeを実行する必要があり、攻撃者は被害者が既に信頼しているパスを知っているか推測しなければなりません。この問題はバージョン2.1.84で修正されました。
|
| Possible impacts |
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 5, 2026, midnight |
| Registration Date |
May 14, 2026, 10:19 a.m. |
| Last Update |
May 14, 2026, 10:19 a.m. |
|
CVSS3.0 : 重要
|
| Score |
8.8
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected System
| Anthropic PBC |
|
Claude Code 2.1.63 以上 2.1.84 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年05月14日] 掲載 |
May 14, 2026, 10:19 a.m. |
NVD Vulnerability Information
CVE-2026-40068
| Summary |
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.
|
| Publication Date |
May 6, 2026, 6:16 a.m. |
| Registration Date |
May 7, 2026, 4:07 a.m. |
| Last Update |
May 13, 2026, 1:21 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* |
2.1.63 |
|
|
2.1.84 |
Related information, measures and tools
Common Vulnerabilities List