CVE-2026-44843Langchain
High 8.2 No auth needed
Follow: this CVE · Langchain · Langchain We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- May 26, 2026
- Updated
- Jul 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Langchain.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | langchain-core |
≥ 1.0.0 < 1.3.3 |
1.3.3 |
pip install "langchain-core>=1.3.3" |
| PyPI | langchain-core |
< 0.3.85 |
0.3.85 |
pip install "langchain-core>=0.3.85" |
| PyPI | langchain-core |
< 0.3.85 |
0.3.85 |
pip install "langchain-core>=0.3.85" |
| PyPI | langchain-core |
≥ 1.0.0 < 1.3.3 |
1.3.3 |
pip install "langchain-core>=1.3.3" |
Per OSV / GitHub Advisories (GHSA-pjwx-r37v-7724, PYSEC-2026-2564). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| langchain | langchain | < 0.3.85 |
| langchain | langchain | ≥ 1.0.0 < 1.3.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Mitigation Vendor Advisory