CVE-20XX-?
agent?

CVE-2025-68665

8.6 HIGH 0.8% exploit odds Fix listed Code execution

What it is

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

At a glance

Exploitability
Can be exploited over the network without logging in. High risk of data exposure.
Exploit odds
0.8% chance of exploitation in the next 30 days (EPSS).
Fix
A patch, advisory or fixed version is referenced. Upgrade or apply it.

Timeline

  1. PublishedDisclosed publicly on CVE.org and NVD
  2. Last updatedMost recent change to the record

Why it ranks here

Details

Published
Last modified
Exploit probability
0.8% · EPSS, next 30 days
Weakness
CWE-502 · Unsafe deserialization
Record status
Analyzed

Affected

Attack profile CVSS 3.1 · 8.6

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
Raw vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Is it in your code?

Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.

Read https://cve-list.com/agent/cve/CVE-2025-68665.md and follow it. Check whether this project is affected by CVE-2025-68665. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.

· More options · Status badge

Meme: I wake up, CVE-2025-68665
Download Square Reddit

Fix and advisories

References

NVD record · CVE.org record