LangChain langchain-core: unsafe deserialization through overly broad load() allowlists (CVE-2026-44843)
Summary
Per the vendor advisory, older langchain-core runtime paths deserialize run inputs and outputs with overly broad object allowlists. Attacker-supplied LangChain constructor dictionaries may then cause classes to be instantiated with untrusted arguments. The advisory says this does not enable arbitrary Python object deserialization, and that applications are exposed only when several conditions hold. Fixes are in 1.3.3 and 0.3.85.
Severity
Timeline
The vendor advisory page shows GHSA-pjwx-r37v-7724 as published on this date.
The advisory record lists its publication as this date. (per the vendor advisory)
How it happened
Per the vendor advisory, some older runtime paths may call load() with allowed_objects="all", so attacker-supplied constructor dictionaries can be revived as trusted LangChain objects. Exposure requires untrusted structured input that is not validated into an inert schema, is preserved in run data, and reaches an affected API path. Credential disclosure or server-side requests are possible only if a reachable object reads environment credentials, creates clients, or contacts attacker-controlled endpoints during initialization. A related _is_lc_secret bypass is fixed in the same release.
How to check your app
- langchain-core >= 1.0.0, <= 1.3.2: Check whether the installed langchain-core version falls in this range.
- langchain-core <= 0.3.84: Check whether the installed langchain-core version falls in this range.
- all affected versions: Check whether the application passes untrusted structured input to RunnableWithMessageHistory, astream_log(), or astream_events(version="v1").
- all affected versions: Check whether load() or loads() is called on user-controlled data or on data from untrusted stored sources.
Sources
Corrections and updates
Cite this entry
- Title
- LangChain langchain-core: unsafe deserialization through overly broad load() allowlists (CVE-2026-44843)
- Added
- Nov 16, 2026
- URL
- https://vibeincidents.com/incidents/langchain-core-cve-2026-44843/
- Suggested citation
VibeIncidents. "LangChain langchain-core: unsafe deserialization through overly broad load() allowlists (CVE-2026-44843)." Nov 16, 2026. https://vibeincidents.com/incidents/langchain-core-cve-2026-44843/