Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-68665 Details

Description

LangChain is a framework for building LLM-powered applications. Prior to @langchain/core versions 0.3.80 and 1.1.8, and prior to langchain versions 0.3.37 and 1.2.3, a serialization injection vulnerability exists in LangChain JS's toJSON() method (and subsequently when string-ifying objects using JSON.stringify(). The method did not escape objects with 'lc' keys when serializing free-form data in kwargs. 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 @langchain/core versions 0.3.80 and 1.1.8, and langchain versions 0.3.37 and 1.2.3

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-502Deserialization of Untrusted Data[email protected]

Affected Products

ProductVersions
langchain langchain.js
< 0.3.37
>= 1.0.0, < 1.2.3

CPE

  • cpe:2.3:a:langchain:langchain.js:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
langchain langchain/core
< 0.3.80
>= 1.0.0, < 1.1.8

CPE

  • cpe:2.3:a:langchain:langchain/core:*:*:*:*:*:node.js:*:*

Remediation

  • No remediation found in references.

Change History

5 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-68665
NVD Published Date:
Dec 23, 2025
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2025-68665 Details - Not Deferred