langchainにおける複数の脆弱性
| Title |
langchainにおける複数の脆弱性
|
| Summary |
LangChainはエージェントやLLM搭載アプリケーションを構築するためのフレームワークです。バージョン1.3.9以前の複数のLangChainコンポーネントでは、ファイルシステムのパス解決や検索パターンの展開において、解決されたパスが意図したルートディレクトリ内に一貫して制限されていませんでした。影響を受ける挙動には、開始ディレクトリの検証は行うものの検索パターンや一致したファイルの解決対象は検証しないファイル検索エージェントミドルウェアが含まれ、globパターンやシンボリックリンクを通じて設定されたルート外のファイルへアクセス可能でした。また、パスフィールドを受け入れ信頼できるベースに結果を制限せずシンボリックリンク先を拒否しないプロンプトおよびチェーン・エージェントの設定ローダー、パスセグメントの境界を考慮せず文字列のプレフィックスで比較するパスプレフィックスの認可チェックも含まれます。これらのコンポーネントが信頼できないソース(信頼されていない入力に基づいて動作するLLMを含む)から影響を受けるパス値、検索パターン、作業スペースの内容を受け取ると、意図した境界外のファイル情報が漏洩する可能性があります。この脆弱性はバージョン1.3.9で修正されています。
|
| Possible impacts |
・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアは停止しません。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
June 22, 2026, midnight |
| Registration Date |
June 29, 2026, 11:11 a.m. |
| Last Update |
June 29, 2026, 11:11 a.m. |
|
CVSS3.0 : 警告
|
| Score |
5.5
|
| Vector |
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected System
| langchain |
|
langchain 1.3.9 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月29日] 掲載 |
June 29, 2026, 11:11 a.m. |
NVD Vulnerability Information
CVE-2026-55443
| Summary |
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.
|
| Publication Date |
June 23, 2026, 4:17 a.m. |
| Registration Date |
June 27, 2026, 4:11 a.m. |
| Last Update |
June 27, 2026, 5:05 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:* |
|
|
|
1.3.9 |
Related information, measures and tools
Common Vulnerabilities List