| タイトル | langchainにおける信頼できないデータのデシリアライゼーションに関する脆弱性 |
|---|---|
| 概要 | LangChainは、エージェントやLLM(大規模言語モデル)を活用したアプリケーションを構築するためのフレームワークです。バージョン0.3.85および1.3.3以前のLangChainには、実行時の入力、出力、または他のアプリケーション制御ペイロードを、過度に広範なオブジェクト許可リストを使ってデシリアライズする古いランタイムコードパスが含まれていました。これらのパスはallowed_objects="all"を使ってload()を呼び出す場合がありました。これは任意のPythonオブジェクトのデシリアライズを許可するわけではありませんが、信頼されたLangChainのシリアライズ可能な任意のオブジェクトが復元され得るため、これらのランタイムパスが必要とする範囲よりも広範です。その結果、攻撃者が提供したLangChainのシリアライズされたコンストラクタ辞書によって、信頼されたランタイムパスが信頼できないコンストラクタ引数でクラスのインスタンスを作成してしまう可能性があります。この脆弱性はバージョン0.3.85および1.3.3で修正されています。 |
| 想定される影響 | ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月26日0:00 |
| 登録日 | 2026年6月3日17:01 |
| 最終更新日 | 2026年6月3日17:01 |
| CVSS3.0 : 重要 | |
| スコア | 8.2 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| langchain |
| langchain 0.3.85 未満 |
| langchain 1.0.0 以上 1.3.3 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月03日] 掲載 |
2026年6月3日17:01 |
| 概要 | LangChain is a framework for building agents and LLM-powered applications. Prior to 0.3.85 and 1.3.3, LangChain contains older runtime code paths that deserialize run inputs, run outputs, or other application-controlled payloads using overly broad object allowlists. These paths may call load() with allowed_objects="all". This does not enable arbitrary Python object deserialization, but it does allow any trusted LangChain-serializable object to be revived, which is broader than these runtime paths require. As a result, attacker-supplied LangChain serialized constructor dictionaries may cause trusted runtime paths to instantiate classes with untrusted constructor arguments. This vulnerability is fixed in 0.3.85 and 1.3.3. |
|---|---|
| 公表日 | 2026年5月27日6:16 |
| 登録日 | 2026年5月28日4:09 |
| 最終更新日 | 2026年5月30日1:19 |