製品・ソフトウェアに関する情報
Anthropic PBCのClaude SDK for TypeScript (anthropic-ai/sdk)における複数の脆弱性
Title Anthropic PBCのClaude SDK for TypeScript (anthropic-ai/sdk)における複数の脆弱性
Summary

TypeScript向けのClaude SDKは、サーバーサイドのTypeScriptまたはJavaScriptアプリケーションからClaude APIへアクセスを提供します。バージョン0.79.0から0.81.0未満の間、Anthropic TypeScript SDKのローカルファイルシステムメモリツールは、モデルから提供されたパスを検証する際、末尾にパス区切り文字を追加しない文字列のプレフィックスチェックを使用していました。プロンプトインジェクションによって操作されたモデルは、メモリルート名をプレフィックスとする兄弟ディレクトリに解決される細工されたパスを提供でき、サンドボックス化されたメモリディレクトリの外での読み書きを可能にしていました。この問題はバージョン0.81.0で修正されています。

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

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

Publication Date March 31, 2026, midnight
Registration Date April 21, 2026, 10:42 a.m.
Last Update April 21, 2026, 10:42 a.m.
CVSS3.0 : 警告
Score 5.4
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Affected System
Anthropic PBC
Claude SDK for TypeScript (anthropic-ai/sdk) 0.79.0 以上 0.81.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年04月21日]
  掲載
April 21, 2026, 10:42 a.m.

NVD Vulnerability Information
CVE-2026-34451
Summary

Claude SDK for TypeScript provides access to the Claude API from server-side TypeScript or JavaScript applications. From version 0.79.0 to before version 0.81.0, the local filesystem memory tool in the Anthropic TypeScript SDK validated model-supplied paths using a string prefix check that did not append a trailing path separator. A model steered by prompt injection could supply a crafted path that resolved to a sibling directory sharing the memory root's name as a prefix, allowing reads and writes outside the sandboxed memory directory. This issue has been patched in version 0.81.0.

Publication Date April 1, 2026, 7:16 a.m.
Registration Date April 27, 2026, 12:21 p.m.
Last Update April 20, 2026, 11:47 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:anthropic:claude_sdk_for_typescript:*:*:*:*:*:*:*:* 0.79.0 0.81.0
Related information, measures and tools
Common Vulnerabilities List