{"id":"CVE-2026-44843","published":"2026-05-26T19:47:35Z","modified":"2026-05-27T14:07:03Z","title":"LangChain: Unsafe deserialization of attacker-controlled LangChain objects through overly broad `load()` allowlists","vendor":"langchain-ai","product":"langchain","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00406,"percentile":0.35755,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/langchain-ai/langchain/security/advisories/GHSA-pjwx-r37v-7724","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":7.15},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"langchain-ai","affectedVersions":[{"vendor":"langchain-ai","product":"langchain","versions":["< 0.3.85",">= 1.0.0a1, < 1.3.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-27T14:06:50.805026Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"langchain-core","vulnerableRanges":[">=1.0.0, <1.3.3","<0.3.85"],"patched":["1.3.3","0.3.85"],"from":["GHSA-pjwx-r37v-7724","PYSEC-2026-2564"],"provenance":"source"}],"summary":{"text":"The LangChain framework's older runtime code paths, which deserialize run inputs, run outputs, and other application-controlled payloads, use overly broad object allowlists (including load() with allowed_objects=\"all\"), so any trusted LangChain-serializable object can be revived. An attacker who can supply serialized constructor dictionaries to these paths, which requires no authentication or user interaction over the network, can cause trusted runtime code to instantiate classes with attacker-chosen constructor arguments; this does not allow arbitrary Python object deserialization.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:45Z"},"euvd":{"id":"EUVD-2026-31976","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-26013","published":"2026-02-10","fixed":"1.2.11","kev":false},{"cve":"CVE-2026-34070","published":"2026-03-31","fixed":"1.2.22","kev":false},{"cve":"CVE-2026-40087","published":"2026-04-09","fixed":"1.2.28","kev":false,"link":{"from":"CVE-2026-40087","to":"CVE-2026-44843","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:langchain-core","fromFixed":"1.2.28","toFixed":"1.3.3","daysApart":47},{"kind":"version-step","provenance":"source","package":"PyPI:langchain-core","fromFixed":"0.3.84","toFixed":"0.3.85","daysApart":47}]}},{"cve":"CVE-2026-44843","published":"2026-05-26","fixed":"1.3.3","kev":false}],"package":"PyPI:langchain-core"}}