CVE-2026-44843
HIGHLangChain: Unsafe deserialization of attacker-controlled LangChain objects through overly broad `load()` allowlists
Title source: cnaDescription
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.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/langchain-ai/langchain/security/advisories/GHSA-pjwx-r37v-7724
Scores
CVSS v3
8.2
EPSS
0.0041
EPSS Percentile
32.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-502
Status
published
Products (5)
langchain/langchain
< 0.3.85
langchain-ai/langchain
< 0.3.85
langchain-ai/langchain
>= 1.0.0a1, < 1.3.3
pypi/langchain-core
0 - 0.3.85PyPI
pypi/langchain-core
1.0.0 - 1.3.3PyPI
Published
May 26, 2026
Tracked Since
May 27, 2026