AI コーディングエージェント「Claude Code」に重大な脆弱性
株式会社エーアイセキュリティラボは4月27日、同社の取締役副社長である安西真人氏が、米国Anthropic社のAIコーディングエージェント「Claude Code」における重大な脆弱性(CVE-2026-40068)を発見したと発表した。影響を受けるシステムは以下の通り。
対象パッケージ:@anthropic-ai/claude-code(npm) 影響を受けるバージョン: 2.1.63 以上 2.1.84 未満
Claude Codeは、プロジェクトのリポジトリにアクセスする際、ユーザーに対して「このディレクトリを信頼するか」を確認するダイアログを表示し、安全性を確保する仕様となっていたが、同脆弱性が悪用された場合、このセキュリティ確認を完全に回避することが可能となっていた。
同脆弱性は、Gitのworktree機能が参照する commondir ファイルの内容に対する検証が不十分であったため、攻撃者が作成した悪意あるリポジトリ内で、ユーザーが既に「信頼済み」としているパスを偽装することができ、被害者がこの細工されたリポジトリをクローンし、Claude Codeを実行した場合、信頼確認のダイアログが表示されることなく、リポジトリ内の設定ファイル(.claude/settings.json の hook)に仕込まれた悪意あるコードが即座に実行される恐れがあった。
同脆弱性は、CVSS評価で機密性・完全性・可用性のすべてに「High」の影響を与えると定義されており、悪用された場合、システムへの不正アクセス、重要データの窃取、改ざん、およびシステム破壊のリスクが生じる。
Claude Codeの自動アップデート機能が有効な環境では、既に修正済みバージョンが適用されており、エーアイセキュリティラボでは手動アップデートを利用している場合は、速やかに最新版(2.1.84以降)にアップデートするよう呼びかけている。
安西真人氏は、日常的なセキュリティリサーチ活動の一環として本脆弱性を発見し、発見後にAnthropic社のバグバウンティプログラム(HackerOne)を通じて、責任ある開示(Responsible Disclosure)の手順に従い報告を行っている。本件に関するアドバイザリは、Anthropic社より4月24日付で公開されており、現在は修正済みバージョンが提供されている。
対象パッケージ:@anthropic-ai/claude-code(npm) 影響を受けるバージョン: 2.1.63 以上 2.1.84 未満
Claude Codeは、プロジェクトのリポジトリにアクセスする際、ユーザーに対して「このディレクトリを信頼するか」を確認するダイアログを表示し、安全性を確保する仕様となっていたが、同脆弱性が悪用された場合、このセキュリティ確認を完全に回避することが可能となっていた。
同脆弱性は、Gitのworktree機能が参照する commondir ファイルの内容に対する検証が不十分であったため、攻撃者が作成した悪意あるリポジトリ内で、ユーザーが既に「信頼済み」としているパスを偽装することができ、被害者がこの細工されたリポジトリをクローンし、Claude Codeを実行した場合、信頼確認のダイアログが表示されることなく、リポジトリ内の設定ファイル(.claude/settings.json の hook)に仕込まれた悪意あるコードが即座に実行される恐れがあった。
同脆弱性は、CVSS評価で機密性・完全性・可用性のすべてに「High」の影響を与えると定義されており、悪用された場合、システムへの不正アクセス、重要データの窃取、改ざん、およびシステム破壊のリスクが生じる。
Claude Codeの自動アップデート機能が有効な環境では、既に修正済みバージョンが適用されており、エーアイセキュリティラボでは手動アップデートを利用している場合は、速やかに最新版(2.1.84以降)にアップデートするよう呼びかけている。
安西真人氏は、日常的なセキュリティリサーチ活動の一環として本脆弱性を発見し、発見後にAnthropic社のバグバウンティプログラム(HackerOne)を通じて、責任ある開示(Responsible Disclosure)の手順に従い報告を行っている。本件に関するアドバイザリは、Anthropic社より4月24日付で公開されており、現在は修正済みバージョンが提供されている。
Vocabulary
General
Proper noun
JLPT N2
JLPT N1
| # | 言葉 | 意味 |
|---|---|---|
| 5 | 脆弱性 | ぜいじゃくせい (脆弱性) : vulnerability; weakness; fragility |
| 3 | 発見 | はっけん (発見) : discovery; detection; finding |
| 3 | 影響 | えいきょう (影響) : 1. influence; effect 2. to influence; to affect; to have an influence on; to impact; to have an effect on |
| 3 | 信頼 | しんらい (信頼) : reliance; trust; faith; confidence |
| 3 | 確認 | かくにん (確認) : confirmation; verification; validation; review; check; affirmation; identification |
| 3 | 済み | ずみ (済み) : arranged; taken care of; settled; completed; finished |
| 2 | 安西 | あんさい (安西) : Ansai (place) |
| 2 | 真人 | しんじん (真人) : true man |
| 2 | 氏 | うじ (氏) : 1. family name; lineage; birth 2. clan |
| 2 | 表示 | ひょうじ (表示) : 1. indication; expression; showing; manifestation; demonstration 2. display; displaying |
| 2 | 悪用 | あくよう (悪用) : abuse; misuse; perversion |
| 2 | 悪意 | あくい (悪意) : 1. ill will; spite; evil intention; malice 2. bad meaning |
| 2 | 既に | すでに (既に) : already; too late |
| 2 | 実行 | じっこう (実行) : execution (e.g. of a plan); carrying out; practice; action; implementation; fulfillment; realization |
| 2 | 修正 | しゅうせい (修正) : amendment; correction; revision; modification; alteration; retouching; update; fix |
| 1 | 株式会社 | かぶしきがいしゃ (株式会社) : stock company; corporation; kabushiki kaisha; KK |
| 1 | 同社 | どうしゃ (同社) : the same firm |
| 1 | 取締役 | とりしまりやく (取締役) : company director; board member |
| 1 | 副社長 | ふくしゃちょう (副社長) : executive vice-president |
| 1 | 米国 | べいこく (米国) : (United States of) America; USA; US |
| 1 | 重大 | じゅうだい (重大) : serious; important; significant; grave; weighty |
| 1 | 発表 | はっぴょう (発表) : announcement; publication; presenting; statement; communique; making known; breaking (news story); expressing (one's opinion); releasing; unveiling |
| 1 | 通り | とおり (通り) : 1. avenue; street; way; road 2. coming and going; street traffic |
| 1 | 対象 | たいしょう (対象) : target; object (of worship, study, etc.); subject (of taxation, etc.) |
| 1 | 未満 | みまん (未満) : less than; under; below |
| 1 | 際 | きわ (際) : 1. edge; brink; verge; side 2. time; moment of |
| 1 | 安全性 | あんぜんせい (安全性) : safety; security |
| 1 | 確保 | かくほ (確保) : 1. securing; obtaining; ensuring; guarantee; maintaining 2. belay; belaying |
| 1 | 仕様 | しよう (仕様) : 1. way; method; means; resource; remedy 2. (technical) specification |
| 1 | 完全 | かんぜん (完全) : perfect; complete |
| 1 | 回避 | かいひ (回避) : evasion; avoidance |
| 1 | 可能 | かのう (可能) : possible; potential; practicable; feasible |
| 1 | 機能 | きのう (機能) : function; facility; faculty; feature |
| 1 | 参照 | さんしょう (参照) : reference; bibliographical reference; consultation; browsing (e.g. when selecting a file to upload on a computer); checking out |
| 1 | 内容 | ないよう (内容) : contents; content; substance; matter; detail; import |
| 1 | 検証 | けんしょう (検証) : verification; inspection |
| 1 | 不十分 | ふじゅうぶん (不十分) : insufficient; inadequate; imperfect |
| 1 | 攻撃者 | こうげきしゃ (攻撃者) : aggressor; assailant; invader |
| 1 | 作成 | さくせい (作成) : drawing up (e.g. legal document, contract, will, etc.); preparing; writing; framing; making; producing; creating; creation |
| 1 | 偽装 | ぎそう (偽装) : 1. camouflage; disguise 2. pretense; feigning; masquerade |
| 1 | 被害者 | ひがいしゃ (被害者) : victim; injured party; sufferer |
| 1 | 細工 | さいく (細工) : 1. work; workmanship; craftsmanship; handiwork 2. artifice; trick; device; tampering; doctoring |
| 1 | 設定ファイル | せっていファイル (設定ファイル) : setup file |
| 1 | 仕込む | しこむ (仕込む) : 1. to train; to teach; to educate 2. to acquire (information); to learn; to cram |
| 1 | 即座 | そくざ (即座) : immediate; right there on the spot; impromptu; instant; instantaneous |
| 1 | 恐れ | おそれ (恐れ) : fear; horror; anxiety; concern; uneasiness; reverence |
| 1 | 評価 | ひょうか (評価) : 1. valuation; appraisal; evaluation; assessment; estimation; rating; judging 2. appreciation; recognition; acknowledgement; rating highly; praising |
| 1 | 機密性 | きみつせい (機密性) : confidentiality |
| 1 | 完全性 | かんぜんせい (完全性) : integrity |
| 1 | 可用性 | かようせい (可用性) : availability |
| 1 | 与える | あたえる (与える) : 1. to give (esp. to someone of lower status); to bestow; to grant; to confer; to present; to award 2. to provide; to afford; to offer; to supply |
| 1 | 定義 | ていぎ (定義) : definition |
| 1 | 不正アクセス | ふせいアクセス (不正アクセス) : unauthorized (computer) access; hacking |
| 1 | 重要 | じゅうよう (重要) : important; momentous; essential; principal; major |
| 1 | 窃取 | せっしゅ (窃取) : theft; stealing; larceny |
| 1 | 改ざん | かいざん (改ざん) : alteration; falsification; faking |
| 1 | および | および (及び) : and; as well as |
| 1 | 破壊 | はかい (破壊) : 1. destruction; disruption 2. (application) crash |
| 1 | 生じる | しょうじる (生じる) : 1. to produce; to yield; to cause 2. to result from; to arise; to be generated |
| 1 | 自動 | じどう (自動) : 1. automatic 2. intransitive verb |
| 1 | 有効 | ゆうこう (有効) : 1. valid; effective 2. yuko (judo) |
| 1 | 環境 | かんきょう (環境) : environment; circumstance |
| 1 | 適用 | てきよう (適用) : applying (e.g. a technology); adoption |
| 1 | 手動 | しゅどう (手動) : manual (operation) |
| 1 | 速やか | すみやか (速やか) : quick; speedy; prompt; rapid; swift |
| 1 | 最新版 | さいしんばん (最新版) : latest version; latest edition |
| 1 | 以降 | いこう (以降) : on and after; as from; hereafter; thereafter; since |
| 1 | 呼びかける | よびかける (呼びかける) : 1. to call out to; to hail; to address 2. to appeal |
| 1 | 日常的 | にちじょうてき (日常的) : mundane; routine; everyday; unremarkable; common; day-to-day |
| 1 | 活動 | かつどう (活動) : 1. activity (of a person, organization, animal, volcano, etc.); action 2. movie (esp. during the silent movie period) |
| 1 | 一環 | いっかん (一環) : 1. link (e.g. in a chain of events); part (of a plan, campaign, activities, etc.) 2. monocyclic |
| 1 | 通ずる | つうずる (通ずる) : 1. to be open (to traffic); to lead to; to communicate (with) 2. to flow (liquid, current); to pass; to get through to |
| 1 | 責任 | せきにん (責任) : 1. duty; responsibility (incl. supervision of staff) 2. liability; onus |
| 1 | 開示 | かいじ (開示) : release (e.g. information); disclosure (legal); show; indication; display |
| 1 | 手順 | てじゅん (手順) : process; procedure; sequence; protocol; instruction |
| 1 | 従う | したがう (従う) : 1. to obey (an order, law, etc.); to abide by (a rule, custom, etc.); to follow; to observe; to conform to; to yield to 2. to follow (a person); to accompany; to go with |
| 1 | 報告 | ほうこく (報告) : report; information |
| 1 | 本件 | ほんけん (本件) : this matter; this case |
| 1 | 関する | かんする (関する) : to concern; to be related |
| 1 | 付 | つき (付き) : 1. furnished with; including 2. attached to |
| 1 | 公開 | こうかい (公開) : opening to the public; making available to the public; putting on display; exhibiting; showing (play, movie, etc.); holding (interview, etc.); open; public |
| 1 | 現在 | げんざい (現在) : now; current; present; present time; as of |
| 1 | 提供 | ていきょう (提供) : 1. offer; tender; providing; supplying; making available; donating (blood, organs, etc.) 2. sponsoring (a TV program) |