langchainにおける複数の脆弱性
タイトル langchainにおける複数の脆弱性
概要

LangChainはエージェントやLLM搭載アプリケーションを構築するためのフレームワークです。バージョン1.3.9以前の複数のLangChainコンポーネントでは、ファイルシステムのパス解決や検索パターンの展開において、解決されたパスが意図したルートディレクトリ内に一貫して制限されていませんでした。影響を受ける挙動には、開始ディレクトリの検証は行うものの検索パターンや一致したファイルの解決対象は検証しないファイル検索エージェントミドルウェアが含まれ、globパターンやシンボリックリンクを通じて設定されたルート外のファイルへアクセス可能でした。また、パスフィールドを受け入れ信頼できるベースに結果を制限せずシンボリックリンク先を拒否しないプロンプトおよびチェーン・エージェントの設定ローダー、パスセグメントの境界を考慮せず文字列のプレフィックスで比較するパスプレフィックスの認可チェックも含まれます。これらのコンポーネントが信頼できないソース(信頼されていない入力に基づいて動作するLLMを含む)から影響を受けるパス値、検索パターン、作業スペースの内容を受け取ると、意図した境界外のファイル情報が漏洩する可能性があります。この脆弱性はバージョン1.3.9で修正されています。

想定される影響 ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアは停止しません。 
対策

ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年6月22日0:00
登録日 2026年6月29日11:11
最終更新日 2026年6月29日11:11
CVSS3.0 : 警告
スコア 5.5
ベクター CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
影響を受けるシステム
langchain
langchain 1.3.9 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2026年06月29日]
  掲載
2026年6月29日11:11

NVD脆弱性情報
CVE-2026-55443
概要

LangChain is a framework for building agents and LLM-powered applications. Prior to 1.3.9, several LangChain components that resolve filesystem paths or expand search patterns do not consistently confine the resolved path to the intended root directory. Affected behaviors include: a file-search agent middleware that validates a starting directory but not the search pattern or the resolved target of matched files, so glob patterns and symlinks can reach files outside the configured root; prompt- and chain/agent-configuration loaders that accept path fields and resolve them without confining the result to a trusted base or rejecting symlink targets; and path-prefix authorization checks that compare by string prefix without a path-segment boundary, so a sibling path sharing the prefix is accepted. When these components receive path values, search patterns, or workspace contents influenced by an untrusted source — including an LLM acting on untrusted input — the result can be disclosure of files outside the intended boundary. This vulnerability is fixed in 1.3.9.

公表日 2026年6月23日4:17
登録日 2026年6月27日4:11
最終更新日 2026年6月27日5:05
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:* 1.3.9
関連情報、対策とツール
共通脆弱性一覧