CVE-2026-44843
HIGH 8.2CVSS 3.1LangChain vulnerable to unsafe deserialization of attacker-controlled objects through overly broad `load()` allowlists
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.
- Published
- 26 May 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-502
- Also known as
- GHSA-pjwx-r37v-7724PYSEC-2026-2564
- Sources
- NVDJSONOSV GHSA-pjwx-r37v-7724JSONOSV PYSEC-2026-2564JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | langchain | langchaincpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:* |
< 0.3.85 | 0.3.85 |
| NVD | langchain | langchaincpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:* |
>= 1.0.0, < 1.3.3 | 1.3.3 |
| OSV | PyPI | langchain-core | >= 1.0.0, < 1.3.3 | 1.3.3 |
| OSV | PyPI | langchain-core | < 0.3.85 | 0.3.85 |
| OSV | PyPI | langchain-core | < 0.3.85; >= 1.0.0, < 1.3.3 | 0.3.85, 1.3.3 |
References
- https://github.com/langchain-ai/langchain/security/advisories/GHSA-pjwx-r37v-7724 · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-44843 · ADVISORY
- https://github.com/langchain-ai/langchain · PACKAGE
- https://pypi.org/project/langchain-core · PACKAGE
- https://github.com/advisories/GHSA-pjwx-r37v-7724 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 26 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 May 2026)