| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.6 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as problematic has been found in langchain-ai langchainjs. This affects the function toJSON. Executing a manipulation can lead to deserialization.
This vulnerability is registered as CVE-2025-68665. It is possible to launch the attack remotely. No exploit is available.
The affected component should be upgraded.
Details
A vulnerability has been found in langchain-ai langchainjs (the affected version unknown) and classified as problematic. This vulnerability affects the function toJSON. The manipulation with an unknown input leads to a deserialization vulnerability. The CWE definition for the vulnerability is CWE-502. The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid. As an impact it is known to affect confidentiality. CVE summarizes:
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
The advisory is shared for download at github.com. This vulnerability was named CVE-2025-68665 since 12/23/2025. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available.
Upgrading eliminates this vulnerability. Applying the patch e5063f9c6e9989ea067dfdff39262b9e7b6aba62 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2025-2936). Once again VulDB remains the best source for vulnerability data.
Affected
- Red Hat Enterprise Linux
- Open Source LangChain
- Red Hat Ansible Automation Platform
Product
Type
Vendor
Name
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.7VulDB Meta Temp Score: 7.6
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 9.1
NVD Vector: 🔒
CNA Base Score: 8.6
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: DeserializationCWE: CWE-502 / CWE-20
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Patch: e5063f9c6e9989ea067dfdff39262b9e7b6aba62
Timeline
12/23/2025 CVE reserved12/24/2025 Advisory disclosed
12/24/2025 VulDB entry created
01/14/2026 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-r399-636x-v7f6
Status: Confirmed
CVE: CVE-2025-68665 (🔒)
GCVE (CVE): GCVE-0-2025-68665
GCVE (VulDB): GCVE-100-337900
CERT Bund: WID-SEC-2025-2936 - LangChain: Mehrere Schwachstellen ermöglichen Offenlegung von Informationen
Entry
Created: 12/24/2025 08:11Updated: 01/14/2026 03:46
Changes: 12/24/2025 08:11 (65), 12/30/2025 12:35 (6), 01/09/2026 09:11 (1), 01/10/2026 00:20 (1), 01/14/2026 03:46 (11)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.