GHSA-q5hj-mxqh-vv77 · 深刻度: high · エコシステム: npm — Claude Code: Trust Dialog Bypass via Git Worktree Spoofing Allows Arbitrary Code Execution
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.
総合評価: CVE-2026-40068 は低リスク(37.8/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.28%、20 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.12% | 0.28% | +0.16% |
| 2 | 2026-05-22 | 0.17% | 0.12% | -0.04% |
| 3 | 2026-05-13 | — | 0.17% | — |
EPSS の全履歴 (全 4 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.7 | 4.0 | HIGH |
|
— | — | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-q5hj-mxqh-vv77 · 深刻度: high · エコシステム: npm — Claude Code: Trust Dialog Bypass via Git Worktree Spoofing Allows Arbitrary Code Execution
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| anthropic | claude_code | >= 2.1.63, < 2.1.84 | cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* |
| URL | タグ |
|---|---|
| https://github.com/anthropics/claude-code/security/advisories/GHSA-q5hj-mxqh-vv77 | Vendor Advisory |