CVE-2025-68665Patch(langchain / langchain.js)

LOWCVSS 9.1 · CRITICAL

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Patch langchain langchain.js systems immediately

Recommended action window: Monitor and triage in normal cycle

NVD 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

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-502

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

NONE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • langchain.js
  • langchain\/core

Threat summary

  • Patch or workaround signal is available
  • 1 mentions across 1 observed day

What's happening

  • Patch or workaround mentioned in 1 signal
  • Technical details provided in 1 signal
  • 1 total mentions across 1 day

Affected systems

Vendors
Products
langchain.jslangchain\/core

Deep dive

Activity timeline1 mentions / 1d
00111Mentions · 2026-02-17: 1Patch / Workaround · 2026-02-17: 1Technical Details · 2026-02-17: 102-17
Signal classification1 categories
Patch
1100.0%
Referenced assets1 URL
By indicator
Full discourse1 post
  • SecDim@secdim
    Patch

    In December 2025, CVE-2025-68665, a high-severity vuln was reported on LangChain that could result in arbitrary code execution. We investigate how it was patched. Read about it here: https://secdim.com/blog/post/langchain-load-is-basically-eval-17661/ #appsec #langchain #securecoding #programming https://t.co/hDPW8ktyVs

    Post summary

    The tweet announces the CVE‑2025‑68665 vulnerability in LangChain, highlights its high severity and arbitrary code execution potential, and notes an investigation into the applied patch.

    00232377
    282 followersView on X
CPE platform detail2 entries

2 of 2 entries

PartVendorProductVersionTarget SWTarget HW
Applangchainlangchain.js---
Applangchainlangchain\/core-node.js-

Explore more