製品・ソフトウェアに関する情報
Anthropic PBCのClaude Agent SDK等の複数製品におけるOS コマンドインジェクションの脆弱性
Title Anthropic PBCのClaude Agent SDK等の複数製品におけるOS コマンドインジェクションの脆弱性
Summary

Anthropic Claude Code CLIおよびClaude Agent SDKには、認証ヘルパーの実行においてOSコマンドインジェクションの脆弱性があります。これは、ヘルパーの設定値が入力検証を行わずにshell=trueで実行されるためです。認証設定を操作できる攻撃者は、apiKeyHelper、awsAuthRefresh、awsCredentialExport、gcpAuthRefreshなどのパラメータを介してシェルのメタキャラクターを注入し、ユーザーや自動化環境の権限で任意のコマンドを実行できます。これにより、認証情報を窃取したり環境変数が流出したりする可能性があります。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 6, 2026, midnight
Registration Date May 1, 2026, 10:39 a.m.
Last Update May 1, 2026, 10:39 a.m.
CVSS3.0 : 緊急
Score 9.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected System
Anthropic PBC
Claude Agent SDK 0.1.55 およびそれ以前
Claude Code 2.1.91 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年05月01日]
  掲載
May 1, 2026, 10:39 a.m.

NVD Vulnerability Information
CVE-2026-35022
Summary

Anthropic Claude Code CLI and Claude Agent SDK contain an OS command injection vulnerability in authentication helper execution where helper configuration values are executed using shell=true without input validation. Attackers who can influence authentication settings can inject shell metacharacters through parameters like apiKeyHelper, awsAuthRefresh, awsCredentialExport, and gcpAuthRefresh to execute arbitrary commands with the privileges of the user or automation environment, enabling credential theft and environment variable exfiltration.

Publication Date April 7, 2026, 5:16 a.m.
Registration Date April 15, 2026, 11:27 a.m.
Last Update April 14, 2026, 5:16 a.m.
Related information, measures and tools
Common Vulnerabilities List