CVE-2025-68664LangChain is a framework for building agents and LLM-powered applications.
Updated under an hour ago ()
Does this affect you?
It affects langchain_core. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
LangChain is a framework for building agents and LLM-powered applications. Prior to versions 0.3.81 and 1.2.5, a serialization injection vulnerability exists in LangChain's dumps() and dumpd() functions. The functions do not escape dictionaries with 'lc' keys when serializing free-form dictionaries. The 'lc' key is used internally by LangChain to mark serialized objects. When user-controlled data contains this key structure, it is treated as a legitimate LangChain object during deserialization rather than plain user data. This issue has been patched in versions 0.3.81 and 1.2.5.
- CVSS
- 8.2 HIGH (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- Weakness (CWE)
- CWE-502
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Not given
- NVD analysis
- Analyzed
- Record last updated
- Jun 17, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
langchain langchain_core langchain:langchain_core | before 0.3.81; from 1.0.0 before 1.2.5 | NVD |
References
- https://github.com/langchain-ai/langchain/commit/5ec0fa69de31bbe3d76e4cf9cd65a6accb8466c8patch
- https://github.com/langchain-ai/langchain/commit/d9ec4c5cc78960abd37da79b0250f5642e6f0ce6patch
- https://github.com/langchain-ai/langchain/pull/34455issue-tracking, patch
- https://github.com/langchain-ai/langchain/pull/34458issue-tracking, patch
- https://github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D0.3.81release-notes
- https://github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D1.2.5release-notes
- https://github.com/langchain-ai/langchain/security/advisories/GHSA-c67j-w6g6-q2cmexploit, vendor-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.