highCVSS 8.2NVD status: Analyzed

CVE-2026-44843

LangChain is a framework for building agents and LLM-powered applications.

ComponentLangChain
Severityhigh (CVSS 8.2)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Published (NVD)2026-05-26
Last modified2026-07-24
Affected versions
langchain < 0.3.85
langchain >= 1.0.0, < 1.3.3
Fixed in0.3.85, 1.3.3
WeaknessCWE-502
CISA KEVnot listed

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

Does CVE-2026-44843 hit the version you run?Paste your docker-compose.yml, requirements.txt or package.json. The scanner checks your pinned versions against this CVE and every other one we track for LangChain.
Check my stack

What to do

  • Upgrade LangChain to 0.3.85 or later (or the patched release of your branch: 1.3.3).
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Other LangChain CVEs

All LangChain CVEs