# CVE-2026-44843: LangChain: Unsafe deserialization of attacker-controlled LangChain objects through overly broad `load()` allowlists

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-05-08T23:07:32.000Z
- Modified: 2026-09-10T03:51:06.718Z
- Also known as: GHSA-pjwx-r37v-7724, PYSEC-2026-2564
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- langchain-ai langchain: < 0.3.85; >= 1.0.0a1, < 1.3.3
- langchain-core (PyPI): from 1.0.0 before 1.3.3; before 0.3.85
- langchain langchain: before 0.3.85; from 1.0.0 before 1.3.3

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`

## 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)

## Sources

- CVE List: [CVE-2026-44843](https://www.cve.org/CVERecord?id=CVE-2026-44843), CVE Terms of Use, modified 2026-05-27
- GitHub Advisory Database: [GHSA-pjwx-r37v-7724](https://github.com/advisories/GHSA-pjwx-r37v-7724), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-44843](https://nvd.nist.gov/vuln/detail/CVE-2026-44843), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-2564](https://osv.dev/vulnerability/PYSEC-2026-2564), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-44843 · Whole record: https://cve.day/CVE-2026-44843.json · Rebuilt by cve.day 2026-11-25T22:59:22.381Z
