← Back

AI コーディングエージェント「Claude Code」に重大な脆弱性

Source
 株式会社エーアイセキュリティラボは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日公開されており、現在修正済みバージョンが提供されている。

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)