Description

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.

INFO

Published Date :

2025-12-23T22:47:44.084Z

Last Modified :

2025-12-24T14:40:58.427Z

Source :

GitHub_M
AFFECTED PRODUCTS

The following products are affected by CVE-2025-68664 vulnerability.

Vendors Products
Langchain
  • Langchain Core
Langchain-ai
  • Langchain

CVSS Vulnerability Scoring System

Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact