CVE-2026-44843: LangChain: Unsafe deserialization of attacker-controlled LangChain objects through overly broad `load()` allowlists
Vulnerability summary
CVE-2026-44843 is a high (CVSS 8.2) Deserialization of Untrusted Data vulnerability in langchain-ai langchain. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 36.9% of scored vulnerabilities.
Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 26-05-2026PublishedVulnerability first disclosed.
- 27-05-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · PypiEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- NVDNIST8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS trend
Probability
0.41%
Chance of exploitation in the next 30 days
Percentile
37%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.41% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard9 products
- py3-langchain< 1.3.4-r0
- py3.10-langchain< 1.3.4-r0
- py3.10-langchain-core< 1.4.0-r0
- py3.11-langchain< 1.3.4-r0
- py3.11-langchain-core< 1.4.0-r0
Langchain1 product
- langchain< 0.3.85 | ≥ 1.0.0, < 1.3.3
Langchain-ai1 product
- langchain< 0.3.85 | ≥ 1.0.0a1, < 1.3.3
PyPI1 product
- langchain-core< 0.3.85 | ≥ 1.0.0, < 1.3.3
4 vendors · 12 products
References
6 links- github.com/langchain-ai/langchain/security/advisories/GHSA-pjwx-r37v-7724X Refsource CONFIRMWEBAdvisoryMitigationVendor Advisory