製品・ソフトウェアに関する情報
langchainにおける信頼できないデータのデシリアライゼーションに関する脆弱性
Title langchainにおける信頼できないデータのデシリアライゼーションに関する脆弱性
Summary

LangChainは、エージェントやLLM(大規模言語モデル)を活用したアプリケーションを構築するためのフレームワークです。バージョン0.3.85および1.3.3以前のLangChainには、実行時の入力、出力、または他のアプリケーション制御ペイロードを、過度に広範なオブジェクト許可リストを使ってデシリアライズする古いランタイムコードパスが含まれていました。これらのパスはallowed_objects="all"を使ってload()を呼び出す場合がありました。これは任意のPythonオブジェクトのデシリアライズを許可するわけではありませんが、信頼されたLangChainのシリアライズ可能な任意のオブジェクトが復元され得るため、これらのランタイムパスが必要とする範囲よりも広範です。その結果、攻撃者が提供したLangChainのシリアライズされたコンストラクタ辞書によって、信頼されたランタイムパスが信頼できないコンストラクタ引数でクラスのインスタンスを作成してしまう可能性があります。この脆弱性はバージョン0.3.85および1.3.3で修正されています。

Possible impacts ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 
Solution

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

Publication Date May 26, 2026, midnight
Registration Date June 3, 2026, 5:01 p.m.
Last Update June 3, 2026, 5:01 p.m.
CVSS3.0 : 重要
Score 8.2
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Affected System
langchain
langchain 0.3.85 未満
langchain 1.0.0 以上 1.3.3 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年06月03日]
  掲載
June 3, 2026, 5:01 p.m.

NVD Vulnerability Information
CVE-2026-44843
Summary

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.

Publication Date May 27, 2026, 6:16 a.m.
Registration Date May 28, 2026, 4:09 a.m.
Last Update May 30, 2026, 1:19 a.m.
Related information, measures and tools
Common Vulnerabilities List